Skip to content
Snippets Groups Projects
Commit 9cd8062b authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Will Deacon
Browse files

ACPI/IORT: Switch to use kmemdup_array()


Let the kememdup_array() take care about multiplication and possible
overflows.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarHanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/20240606165005.3031490-1-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 7c626ce4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment