summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-08-23 13:54:21 +0300
committerLinus Walleij <linus.walleij@linaro.org>2024-08-26 11:47:42 +0300
commite880754467ddd859e71fac64fc748e1bf4913232 (patch)
tree8d09e6b27a6207a7dcbb2f82767462165c7d5a6b /scripts/gdb/linux/utils.py
parentd0627b201ae4980d8c1c9319b79ca016c5ef154e (diff)
downloadlinux-e880754467ddd859e71fac64fc748e1bf4913232.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions