diff options
| author | Dawei Li <[email protected]> | 2024-04-24 10:55:44 +0800 |
|---|---|---|
| committer | Andreas Larsson <[email protected]> | 2024-05-08 19:42:15 +0200 |
| commit | 7aba3a85daee7d81fbdbccc9d3d9a27dbd4b45aa (patch) | |
| tree | 6c9f316047e30e17051524ffc301ec4f4c3a1528 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | 48d85acdaa52f9ec0324b6c5aa044d1315ef90b2 (diff) | |
sparc/srmmu: 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.
Use cpumask_any_but() to avoid the need for a temporary cpumask on
the stack and simplify code.
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 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions