linux-next: build warning after merge of the rcu tree
Hi Paul,
After merging the rcu tree, today's linux-next build (x86_64 allnoconfig) produced this warning:
kernel/cpu.c: In function 'boot_cpu_state_init':kernel/cpu.c:1778:6: warning: unused variable 'cpu' [-Wunused-variable]
int cpu;
^Introduced by commit
faeb334286b7 ("rcu: Migrate callbacks earlier in the CPU-offline timeline")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi Paul,
After merging the rcu tree, today's linux-next build (
x86_64allnoconfig) produced this warning:
Quoted 8 lines
kernel/cpu.c: In function 'boot_cpu_state_init':kernel/cpu.c:1778:6: warning: unused variable 'cpu' [-Wunused-variable]int cpu; ^Introduced by commit
faeb334286b7("rcu: Migrate callbacks earlier in the CPU-offline timeline")
Hello, Stephen,
Apologies, should be fixed now -- added a __maybe_unused.
But I didn't realize you did SMP=n builds! ;-)
Thanx, Paul