summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/am65-cpsw-nuss.c
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@linux.intel.com>2022-07-22 10:50:24 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-07-25 20:38:01 +0200
commit3e5c04f97c87f5061a37edad11a7b37c3fee2466 (patch)
tree030337b736754a06a93e8e70886b59fbfaffade6 /drivers/net/ethernet/ti/am65-cpsw-nuss.c
parent9d822ccf337299d08cf5121929013f3ac21932c9 (diff)
cpufreq: ondemand: Use cpumask_var_t for on-stack cpu mask
A cpumask structure on the stack can cause a warning with CONFIG_NR_CPUS=8192 (e.g. Ubuntu 22.04 uses this): drivers/cpufreq/cpufreq_ondemand.c: In function 'od_set_powersave_bias': drivers/cpufreq/cpufreq_ondemand.c:449:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] 449 | } | ^ CONFIG_CPUMASK_OFFSTACK=y is enabled by default for most distros, and hence we can work around the warning by using cpumask_var_t. Signed-off-by: Zhao Liu <zhao1.liu@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/ethernet/ti/am65-cpsw-nuss.c')
0 files changed, 0 insertions, 0 deletions