[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109292048.eXMlVRVx-lkp@intel.com>
Date: Wed, 29 Sep 2021 20:59:55 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mark:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:35: error:
this function declaration is not a prototype
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: hexagon-randconfig-r045-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark fuzzing/5.10-rc7
git checkout 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from arch/hexagon/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:73:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
arch/hexagon/include/asm/timex.h:19:31: error: implicit declaration of function '__vmgettime' [-Werror,-Wimplicit-function-declaration]
*timer_val = (unsigned long) __vmgettime();
^
In file included from arch/hexagon/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:14:
In file included from include/linux/sem.h:5:
In file included from include/uapi/linux/sem.h:5:
In file included from include/linux/ipc.h:5:
In file included from include/linux/spinlock.h:51:
In file included from include/linux/preempt.h:78:
In file included from ./arch/hexagon/include/generated/asm/preempt.h:1:
In file included from include/asm-generic/preempt.h:5:
In file included from include/linux/thread_info.h:38:
In file included from arch/hexagon/include/asm/thread_info.h:14:
In file included from arch/hexagon/include/asm/processor.h:15:
arch/hexagon/include/asm/hexagon_vm.h:78:20: error: conflicting types for '__vmgettime'
unsigned long long __vmgettime(void);
^
arch/hexagon/include/asm/timex.h:19:31: note: previous implicit declaration is here
*timer_val = (unsigned long) __vmgettime();
^
In file included from arch/hexagon/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:14:
In file included from include/linux/sem.h:5:
In file included from include/uapi/linux/sem.h:5:
In file included from include/linux/ipc.h:5:
In file included from include/linux/spinlock.h:54:
>> include/linux/irqflags.h:224:35: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
extern void warn_bogus_irq_restore();
^
void
3 errors generated.
make[2]: *** [scripts/Makefile.build:117: arch/hexagon/kernel/asm-offsets.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@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (30728 bytes)
Powered by blists - more mailing lists