* [jsarha:topic/cros-sof-v4.19 661/6555] arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo'
@ 2022-07-02 12:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-02 12:17 UTC (permalink / raw)
To: Simon Que; +Cc: kbuild-all, linux-kernel, Guenter Roeck, Daniel Kurtz
Hi Simon,
First bad commit (maybe != root cause):
tree: https://github.com/jsarha/linux topic/cros-sof-v4.19
head: d7a3e91d8d16d1ef8653deec5a1fffc4de034a0c
commit: 1b944fcc75978529942e762d8cf0dc21d6531a91 [661/6555] CHROMIUM: Add -Werror build option
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20220702/202207022055.ARalrDZa-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/jsarha/linux/commit/1b944fcc75978529942e762d8cf0dc21d6531a91
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha topic/cros-sof-v4.19
git checkout 1b944fcc75978529942e762d8cf0dc21d6531a91
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=um prepare
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo' [-Werror=missing-prototypes]
30 | void foo(void)
| ^~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:131: arch/x86/um/user-offsets.s] Error 1
make[1]: *** [arch/um/Makefile:152: arch/x86/um/user-offsets.s] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:146: sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/foo +30 arch/x86/um/user-offsets.c
45db1c6176c817 arch/x86/um/user-offsets.c H. Peter Anvin 2011-12-05 23
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 24 #define DEFINE(sym, val) \
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 25 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 26
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 27 #define DEFINE_LONGS(sym, val) \
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 28 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aacf4e arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 29
8d0b9dc9be3919 arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @30 void foo(void)
:::::: The code at line 30 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-02 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-02 12:17 [jsarha:topic/cros-sof-v4.19 661/6555] arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®