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: imx: Disallow driver unbind 2021-04-08 16:00:53 +02:00
pinctrl-imx1.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
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: imx8mn: Constify imx_pinctrl_soc_info 2021-07-30 12:03:47 +02:00
pinctrl-imx8mp.c pinctrl: imx: Disallow driver unbind 2021-04-08 16:00:53 +02:00
pinctrl-imx8mq.c pinctrl: imx: Switch to LATE_SYSTEM_SLEEP_PM_OPS() 2024-08-23 18:15:52 +02:00
pinctrl-imx8qm.c pinctrl: imx: Remove unneeded of_match_ptr() 2021-04-08 16:00:53 +02:00
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: freescale: remove generic pin config core support 2023-03-07 14:15:37 +01:00
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: mxs: avoid defines prefixed with CONFIG 2022-12-29 02:05:16 +01:00
pinctrl-scu.c pinctrl: freescale: Fix a memory out of bounds when num_configs is 1 2023-06-16 14:59:03 +02:00
pinctrl-vf610.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00