aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDawei Li <dawei.li@shingroup.cn>2024-04-24 10:55:48 +0800
committerAndreas Larsson <andreas@gaisler.com>2024-05-08 19:42:16 +0200
commit1c9e709cde80fb612e07d9503ad04457e8a58da2 (patch)
tree2994d58a772b0d2d346273d7bf9f3505c3f6cb21 /drivers/usb/cdns3/cdns3-debug.h
parent82b395a2b3cdebc3688754bd289f91bdd0726710 (diff)
sparc/leon: 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_subset() and cpumask_first_and() to avoid the need for a temporary cpumask on the stack. Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Dawei Li <dawei.li@shingroup.cn> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Tested-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/r/20240424025548.3765250-6-dawei.li@shingroup.cn Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions