All of lore.kernel.org
 help / color / mirror / Atom feed
* [palmer:intc 5/18] kernel/debug/debug_core.c:420:5: warning: no previous prototype for 'kgdb_has_hit_break'
@ 2020-05-29  6:19 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-29  6:19 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git intc
head:   2bd957e2b0b66894613a189939378cd1c000188d
commit: f83b04d36e52cc3d941120ec859374fcda36eb31 [5/18] kgdb: Add kgdb_has_hit_break function
config: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f83b04d36e52cc3d941120ec859374fcda36eb31
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

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

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

>> kernel/debug/debug_core.c:420:5: warning: no previous prototype for 'kgdb_has_hit_break' [-Wmissing-prototypes]
420 | int kgdb_has_hit_break(unsigned long addr)
|     ^~~~~~~~~~~~~~~~~~

vim +/kgdb_has_hit_break +420 kernel/debug/debug_core.c

   419	
 > 420	int kgdb_has_hit_break(unsigned long addr)
   421	{
   422		int i;
   423	
   424		for (i = 0; i < KGDB_MAX_BREAKPOINTS; i++) {
   425			if (kgdb_break[i].state == BP_ACTIVE &&
   426			    kgdb_break[i].bpt_addr == addr)
   427				return 1;
   428		}
   429		return 0;
   430	}
   431	

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

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

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

only message in thread, other threads:[~2020-05-29  6:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29  6:19 [palmer:intc 5/18] kernel/debug/debug_core.c:420:5: warning: no previous prototype for 'kgdb_has_hit_break' 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.