Skip to contentSkip to conversation

linux-next: build warning after merge of the tip tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Sep 11, 2018 – Sep 12, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allnoconfig) produced this warning:

arch/x86/kernel/cpu/common.c: In function 'syscall_init':
arch/x86/kernel/cpu/common.c:1534:6: warning: unused variable 'cpu' [-Wunused-variable]

  int cpu = smp_processor_id();
      ^~~

Introduced by commit

86635715ee42 ("x86/pti/64: Remove the SYSCALL64 entry trampoline")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 11 lines · Stephen Rothwell

After merging the tip tree, today's linux-next build (x86_64 allnoconfig) produced this warning:

arch/x86/kernel/cpu/common.c: In function 'syscall_init':
arch/x86/kernel/cpu/common.c:1534:6: warning: unused variable 'cpu' [-Wunused-variable]

  int cpu = smp_processor_id();
      ^~~

Introduced by commit

86635715ee42 ("x86/pti/64: Remove the SYSCALL64 entry trampoline")

Hrmpf. My randconfigs seem not to be random enough. Fixed.

Thanks,

tglx