All of lore.kernel.org
 help / color / mirror / Atom feed
* [mark-rutland:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:35: error: this function declaration is not a prototype
@ 2020-12-11 23:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-11 23:56 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git fuzzing/5.10-rc7
head:   83abdaa512626051c6eecd7c1dfb41fb061ebcb9
commit: 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7 [1/4] lockdep: report broken irq restoration
config: riscv-randconfig-r001-20201209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5ff35356f1af2bb92785b38c657463924d9ec386)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark-rutland fuzzing/5.10-rc7
        git checkout 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

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

   In file included from kernel/bounds.c:10:
   In file included from include/linux/page-flags.h:10:
   In file included from include/linux/bug.h:5:
   In file included from arch/riscv/include/asm/bug.h:83:
   In file included from include/asm-generic/bug.h:20:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:29:
   In file included from arch/riscv/include/asm/bitops.h:14:
>> include/linux/irqflags.h:224:35: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
   extern void warn_bogus_irq_restore();
                                     ^
                                      void
   1 error generated.
--
   In file included from kernel/bounds.c:10:
   In file included from include/linux/page-flags.h:10:
   In file included from include/linux/bug.h:5:
   In file included from arch/riscv/include/asm/bug.h:83:
   In file included from include/asm-generic/bug.h:20:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:29:
   In file included from arch/riscv/include/asm/bitops.h:14:
>> include/linux/irqflags.h:224:35: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
   extern void warn_bogus_irq_restore();
                                     ^
                                      void
   1 error generated.
   make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1206: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

vim +224 include/linux/irqflags.h

   222	
   223	#ifdef CONFIG_DEBUG_IRQFLAGS
 > 224	extern void warn_bogus_irq_restore();
   225	#define check_bogus_irq_restore()			\
   226		do {						\
   227			if (unlikely(!raw_irqs_disabled()))	\
   228				warn_bogus_irq_restore();	\
   229		} while (0)
   230	#else
   231	#define check_bogus_irq_restore() do { } while (0)
   232	#endif
   233	

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

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

only message in thread, other threads:[~2020-12-11 23:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 23:56 [mark-rutland:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:35: error: this function declaration is not a prototype kernel 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.