diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-06-06 19:51:04 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2024-07-30 15:19:44 -0700 |
commit | fcd5b7401dc4b25880e46769975c85091a3c2946 (patch) | |
tree | 4e9d7717a6fc102c34923d484644a7a43759b8f1 /lib/crypto/mpi/mpiutil.c | |
parent | 67cbfa95adb7e099383e1a7d40ce97f15c74b47f (diff) |
ARM: omap2: Switch to use kmemdup_array()
Let the kmemdup_array() take care about multiplication and possible
overflows.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Link: https://lore.kernel.org/r/20240606165104.3031737-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions