diff options
author | Dawei Li <[email protected]> | 2024-04-24 10:55:47 +0800 |
---|---|---|
committer | Andreas Larsson <[email protected]> | 2024-05-08 19:42:15 +0200 |
commit | 82b395a2b3cdebc3688754bd289f91bdd0726710 (patch) | |
tree | 5556c2ea56e7fa14a4304caa35e6af2205b78079 /include/linux/fpga/fpga-mgr.h | |
parent | 3e4b2f08296e7ae08eae967161523d0500093646 (diff) |
sparc/pci_msi: Remove on-stack cpumask var
In general it's preferable to avoid placing cpumasks on the stack, as
for large values of NR_CPUS these can consume significant amounts of
stack space and make stack overflows more likely.
@cpumask of irq_set_affinity() is read-only and free of change, drop
unneeded cpumask var.
Reviewed-by: Sam Ravnborg <[email protected]>
Signed-off-by: Dawei Li <[email protected]>
Reviewed-by: Andreas Larsson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andreas Larsson <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions