diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-23 18:54:21 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-08-26 10:47:42 +0200 |
commit | e880754467ddd859e71fac64fc748e1bf4913232 (patch) | |
tree | 8d09e6b27a6207a7dcbb2f82767462165c7d5a6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d0627b201ae4980d8c1c9319b79ca016c5ef154e (diff) |
pinctrl: freescale: imx-scmi: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication
and possible overflows.
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/20240823105421.50017-1-shenlichuan@vivo.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions