All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:x86/entry 106/133] arch/x86/kernel/traps.c:877:3: error: implicit declaration of function 'handle_debug_user'; did you mean 'handle_debug'?
@ 2020-04-25 18:42 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-25 18:42 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/entry
head:   48e72a1114598f2cd6a0224efef51f510144f0fd
commit: a0bab1458768350a7231cf6b8a725f42217de1af [106/133] peterz-fixup-db-2
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout a0bab1458768350a7231cf6b8a725f42217de1af
        # save the attached .config to linux build tree
        make ARCH=i386 

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 >>):

   arch/x86/kernel/traps.c: In function '__exc_debug':
>> arch/x86/kernel/traps.c:877:3: error: implicit declaration of function 'handle_debug_user'; did you mean 'handle_debug'? [-Werror=implicit-function-declaration]
      handle_debug_user(regs, dr6);
      ^~~~~~~~~~~~~~~~~
      handle_debug
>> arch/x86/kernel/traps.c:883:7: error: invalid use of void expression
      if (!handle_debug(regs, dr6))
          ^
   cc1: some warnings being treated as errors

vim +877 arch/x86/kernel/traps.c

   854	
   855	/* User entry, runs on regular task stack */
   856	DEFINE_IDTENTRY_DEBUG_USER(exc_debug)
   857	{
   858		unsigned long dr6, dr7;
   859	
   860		debug_enter(&dr6, &dr7);
   861		idtentry_enter(regs);
   862	
   863		handle_debug(regs, dr6);
   864	
   865		idtentry_exit(regs);
   866		debug_exit(dr7);
   867	}
   868	#else /* CONFIG_X86_64 */
   869	DEFINE_IDTENTRY_DEBUG(exc_debug)
   870	{
   871		unsigned long dr6, dr7;
   872	
   873		debug_enter(&dr6, &dr7);
   874		if (user_mode(regs)) {
   875			idtentry_enter(regs);
   876	
 > 877			handle_debug_user(regs, dr6);
   878	
   879			idtentry_exit(regs);
   880		} else {
   881			nmi_enter();
   882	
 > 883			if (!handle_debug(regs, dr6))
   884				die("Unhandled #DB", regs, 0);
   885	
   886			nmi_exit();
   887		}
   888		debug_exit(dr7);
   889	}
   890	#endif /* !CONFIG_X86_64 */
   891	

---
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: 72320 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-25 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25 18:42 [tglx-devel:x86/entry 106/133] arch/x86/kernel/traps.c:877:3: error: implicit declaration of function 'handle_debug_user'; did you mean 'handle_debug'? kbuild test robot

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.