kernel_samsung_a53x/drivers/net/ethernet/freescale/dpaa2
Dawei Li 0286651a80 net/dpaa2: Avoid explicit cpumask var allocation on stack
[ Upstream commit d33fe1714a44ff540629b149d8fab4ac6967585c ]

For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask
variable on stack is not recommended since it can cause potential stack
overflow.

Instead, kernel code should always use *cpumask_var API(s) to allocate
cpumask var in config-neutral way, leaving allocation strategy to
CONFIG_CPUMASK_OFFSTACK.

Use *cpumask_var API(s) to address it.

Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Link: https://lore.kernel.org/r/20240331053441.1276826-3-dawei.li@shingroup.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:32 +01:00
..
dpaa2-eth-dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-eth-debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-eth-debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-eth-devlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-eth-trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-eth.c net/dpaa2: Avoid explicit cpumask var allocation on stack 2024-11-19 14:19:32 +01:00
dpaa2-eth.h dpaa2-eth: increase the needed headroom to account for alignment 2024-11-18 12:11:10 +01:00
dpaa2-ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-mac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-mac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2-ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpkg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpmac-cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpmac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpmac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpni-cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpni.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpni.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dprtc-cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dprtc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dprtc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00