Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message May 21, 2020 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/traps.c: In function 'exc_double_fault':
arch/x86/kernel/traps.c:332:16: warning: unused variable 'address' [-Wunused-variable]

  332 |  unsigned long address = read_cr2();
      |                ^~~~~~~

Introduced by commit

095b7a3e7745 ("x86/entry: Convert double fault exception to IDTENTRY_DF")

Signature · 2 lines
Cheers,
Stephen Rothwell