lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 2 Jul 2022 20:17:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Simon Que <sque@...omium.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Guenter Roeck <groeck@...omium.org>,
        Daniel Kurtz <djkurtz@...omium.org>
Subject: [jsarha:topic/cros-sof-v4.19 661/6555]
 arch/x86/um/user-offsets.c:30:6: error: no previous prototype for 'foo'

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@...el.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@...celfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ