1
linux/drivers/pinctrl/freescale
Shen Lichuan e880754467 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>
2024-08-26 10:47:42 +02:00
..
Kconfig pinctrl: freescale: Select missing features 2024-06-18 13:36:57 +02:00
Makefile pinctrl: imx: support SCMI pinctrl protocol for i.MX95 2024-06-17 09:26:18 +02:00
pinctrl-imx1-core.c pinctrl: freescale: Use scope based of_node_put() cleanups 2024-07-03 14:40:38 +02:00
pinctrl-imx1.c
pinctrl-imx1.h
pinctrl-imx6dl.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx6q.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx6sl.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx6sll.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx6sx.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx6ul.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx7d.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx7ulp.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx8dxl.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx8mm.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx8mn.c
pinctrl-imx8mp.c
pinctrl-imx8mq.c pinctrl: imx: Switch to LATE_SYSTEM_SLEEP_PM_OPS() 2024-08-23 18:15:52 +02:00
pinctrl-imx8qm.c
pinctrl-imx8qxp.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx8ulp.c pinctrl: freescale: imx8ulp: fix module autoloading 2024-04-17 10:43:50 +02:00
pinctrl-imx23.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx25.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx27.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx28.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx35.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx50.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx51.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx53.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx91.c pinctrl: imx: Add pinctrl driver support for i.MX91 2024-06-17 09:21:21 +02:00
pinctrl-imx93.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imx-scmi.c pinctrl: freescale: imx-scmi: Use kmemdup_array instead of kmemdup for multiple allocation 2024-08-26 10:47:42 +02:00
pinctrl-imx.c pinctrl: imx: Switch to LATE_SYSTEM_SLEEP_PM_OPS() 2024-08-23 18:15:52 +02:00
pinctrl-imx.h
pinctrl-imxrt1050.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-imxrt1170.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-mxs.c pinctrl: freescale: Use scope based of_node_put() cleanups 2024-07-03 14:40:38 +02:00
pinctrl-mxs.h
pinctrl-scu.c
pinctrl-vf610.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00