kernel_samsung_a53x/drivers/net/ethernet/freescale
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
..
dpaa Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2 net/dpaa2: Avoid explicit cpumask var allocation on stack 2024-11-19 14:19:32 +01:00
enetc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fman Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fs_enet Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_main.c net:fec: Add fec_enet_deinit() 2024-11-19 12:27:10 +01:00
fec_mpc52xx.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fec_mpc52xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_mpc52xx_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_ptp.c net: fec: avoid lock evasion when reading pps_enable 2024-11-19 12:27:09 +01:00
fsl_pq_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gianfar.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
gianfar.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gianfar_ethtool.c 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
ucc_geth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
ucc_geth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ucc_geth_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgmac_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00