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:   Tue, 4 Aug 2020 11:18:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Brian Vazquez <brianvv@...gle.com>
Cc:     kbuild-all@...ts.01.org, netdev@...r.kernel.org
Subject: [net-next:master 152/154] net/core/fib_rules.c:26:7: sparse: sparse:
 undefined preprocessor identifier 'CONFIG_IP_MULTIPLE_TABLES'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   bd0b33b24897ba9ddad221e8ac5b6f0e38a2e004
commit: 8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd [152/154] fib: fix another fib_rules_ops indirect call wrapper problem
:::::: branch date: 31 hours ago
:::::: commit date: 2 days ago
config: s390-randconfig-s032-20200803 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-117-g8c7aee71-dirty
        git checkout 8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390 

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


sparse warnings: (new ones prefixed by >>)

>> net/core/fib_rules.c:26:7: sparse: sparse: undefined preprocessor identifier 'CONFIG_IP_MULTIPLE_TABLES'

# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git remote update net-next
git checkout 8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd
vim +/CONFIG_IP_MULTIPLE_TABLES +26 net/core/fib_rules.c

14c0b97ddfc2944 Thomas Graf   2006-08-04  18  
41d707b7332f138 Brian Vazquez 2020-07-29  19  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
8b66a6fd34f519f Brian Vazquez 2020-07-31  20  #ifdef CONFIG_IP_MULTIPLE_TABLES
41d707b7332f138 Brian Vazquez 2020-07-29  21  #define INDIRECT_CALL_MT(f, f2, f1, ...) \
41d707b7332f138 Brian Vazquez 2020-07-29  22  	INDIRECT_CALL_INET(f, f2, f1, __VA_ARGS__)
41d707b7332f138 Brian Vazquez 2020-07-29  23  #else
8b66a6fd34f519f Brian Vazquez 2020-07-31  24  #define INDIRECT_CALL_MT(f, f2, f1, ...) INDIRECT_CALL_1(f, f2, __VA_ARGS__)
8b66a6fd34f519f Brian Vazquez 2020-07-31  25  #endif
8b66a6fd34f519f Brian Vazquez 2020-07-31 @26  #elif CONFIG_IP_MULTIPLE_TABLES
41d707b7332f138 Brian Vazquez 2020-07-29  27  #define INDIRECT_CALL_MT(f, f2, f1, ...) INDIRECT_CALL_1(f, f1, __VA_ARGS__)
8b66a6fd34f519f Brian Vazquez 2020-07-31  28  #else
8b66a6fd34f519f Brian Vazquez 2020-07-31  29  #define INDIRECT_CALL_MT(f, f2, f1, ...) f(__VA_ARGS__)
41d707b7332f138 Brian Vazquez 2020-07-29  30  #endif
41d707b7332f138 Brian Vazquez 2020-07-29  31  

---
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" (22425 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ