All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:x86/entry 7/13] arch/x86/mm/fault.c:567:19: error: 'idt_descr' undeclared; did you mean
@ 2020-06-04  0:43 kernel test robot
  2020-06-04  7:18 ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-06-04  0:43 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3343 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/entry
head:   454d46254473cd0d626a82fe1cda7b20a5e359e2
commit: 2e02592ac802e13b5c22630cde0096553ba8b767 [7/13] x86/idt: Consolidate idt functionality
config: i386-randconfig-r013-20200603 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
        git checkout 2e02592ac802e13b5c22630cde0096553ba8b767
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

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

arch/x86/mm/fault.c: In function 'is_f00f_bug':
>> arch/x86/mm/fault.c:567:19: error: 'idt_descr' undeclared (first use in this function); did you mean 'ldt_desc'?
567 |   nr = (address - idt_descr.address) >> 3;
|                   ^~~~~~~~~
|                   ldt_desc
arch/x86/mm/fault.c:567:19: note: each undeclared identifier is reported only once for each function it appears in

vim +567 arch/x86/mm/fault.c

35f3266ffbee7f arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  557  
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  558  static int is_f00f_bug(struct pt_regs *regs, unsigned long address)
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  559  {
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  560  #ifdef CONFIG_X86_F00F_BUG
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  561  	unsigned long nr;
2d4a71676f4d89 arch/x86/mm/fault.c    Ingo Molnar     2009-02-20  562  
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  563  	/*
2d4a71676f4d89 arch/x86/mm/fault.c    Ingo Molnar     2009-02-20  564  	 * Pentium F0 0F C7 C8 bug workaround:
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  565  	 */
e2604b49e8a882 arch/x86/mm/fault.c    Borislav Petkov 2013-03-20  566  	if (boot_cpu_has_bug(X86_BUG_F00F)) {
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30 @567  		nr = (address - idt_descr.address) >> 3;
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  568  
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  569  		if (nr == 6) {
a99471a459d4c8 arch/x86/mm/fault.c    Thomas Gleixner 2020-02-25  570  			handle_invalid_op(regs);
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  571  			return 1;
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  572  		}
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  573  	}
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  574  #endif
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  575  	return 0;
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  576  }
29caf2f98cdb26 arch/x86/mm/fault_64.c Harvey Harrison 2008-01-30  577  

:::::: The code at line 567 was first introduced by commit
:::::: 29caf2f98cdb266dffb50dfd412f951e8d46f719 x86: add is_f00f_bug helper to fault_32|64.c

:::::: TO: Harvey Harrison <harvey.harrison@gmail.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31590 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-04  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04  0:43 [tglx-devel:x86/entry 7/13] arch/x86/mm/fault.c:567:19: error: 'idt_descr' undeclared; did you mean kernel test robot
2020-06-04  7:18 ` Thomas Gleixner
2020-06-04  7:42   ` Philip Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.