Netdev Archive on lore.kernel.org
 help / color / Atom feed
* [net-next:master 152/153] net/core/fib_rules.c:26:7: warning: "CONFIG_IP_MULTIPLE_TABLES" is not defined, evaluates to 0
@ 2020-08-01 21:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-01 21:09 UTC (permalink / raw)
  To: Brian Vazquez; +Cc: kbuild-all, netdev


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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   7126bd5c8bcbc015cf89864cf71d750e8f33f924
commit: 8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd [152/153] fib: fix another fib_rules_ops indirect call wrapper problem
config: openrisc-randconfig-r026-20200802 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
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
        git checkout 8b66a6fd34f519f4ad42c4ab0152c3c0782a7dbd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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

All warnings (new ones prefixed by >>):

>> net/core/fib_rules.c:26:7: warning: "CONFIG_IP_MULTIPLE_TABLES" is not defined, evaluates to 0 [-Wundef]
      26 | #elif CONFIG_IP_MULTIPLE_TABLES
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~

vim +/CONFIG_IP_MULTIPLE_TABLES +26 net/core/fib_rules.c

    18	
    19	#ifdef CONFIG_IPV6_MULTIPLE_TABLES
    20	#ifdef CONFIG_IP_MULTIPLE_TABLES
    21	#define INDIRECT_CALL_MT(f, f2, f1, ...) \
    22		INDIRECT_CALL_INET(f, f2, f1, __VA_ARGS__)
    23	#else
    24	#define INDIRECT_CALL_MT(f, f2, f1, ...) INDIRECT_CALL_1(f, f2, __VA_ARGS__)
    25	#endif
  > 26	#elif CONFIG_IP_MULTIPLE_TABLES
    27	#define INDIRECT_CALL_MT(f, f2, f1, ...) INDIRECT_CALL_1(f, f1, __VA_ARGS__)
    28	#else
    29	#define INDIRECT_CALL_MT(f, f2, f1, ...) f(__VA_ARGS__)
    30	#endif
    31	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20530 bytes --]

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

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-01 21:09 [net-next:master 152/153] net/core/fib_rules.c:26:7: warning: "CONFIG_IP_MULTIPLE_TABLES" is not defined, evaluates to 0 kernel test robot

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git