lkml.org 
[lkml]   [2020]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:x86/entry 19/19] arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head: 5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 5980d208e5ef28455e9e8b08f6250b443a2f0893 [19/19] x86/idt: Consolidate idt functionality
config: i386-randconfig-c001-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/kernel/idt.c: In function 'idt_is_f00f_address':
>> arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
177 | return (address - idt_descr.address) >> 3) == 6;
| ^
| ;
>> arch/x86/kernel/idt.c:177:43: error: expected statement before ')' token
>> arch/x86/kernel/idt.c:177:45: error: expected expression before '==' token
177 | return (address - idt_descr.address) >> 3) == 6;
| ^~

vim +177 arch/x86/kernel/idt.c

173
174 #ifdef CONFIG_X86_F00F_BUG
175 bool idt_is_f00f_address(unsigned long address)
176 {
> 177 return (address - idt_descr.address) >> 3) == 6;
178 }
179 #endif
180

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-06-01 01:37    [W:0.146 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site