diff options
| author | Dawei Li <[email protected]> | 2024-04-24 10:55:45 +0800 |
|---|---|---|
| committer | Andreas Larsson <[email protected]> | 2024-05-08 19:42:15 +0200 |
| commit | c4650ba96cb01b83cb87fb4eddc2e313ea17f4cb (patch) | |
| tree | 085fe412425f1814c70acc2990c313ff1614e541 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | 7aba3a85daee7d81fbdbccc9d3d9a27dbd4b45aa (diff) | |
sparc/irq: 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.
- Both 2 arguments of cpumask_equal() is constant and free of change, no
need to allocate extra cpumask variables.
- Merge cpumask_and(), cpumask_first() and cpumask_empty() into
cpumask_first_and().
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