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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201607152200.fUmBZc56%fengguang.wu@intel.com>
Date:	Fri, 15 Jul 2016 22:30:00 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Gavin Shan <gwshan@...ux.vnet.ibm.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
	benh@...nel.crashing.org, joel@....id.au, gerlitz.or@...il.com,
	weixue@...stnetic.com, yuvali@...lanox.com,
	alexei.starovoitov@...il.com, f.fainelli@...il.com,
	Gavin Shan <gwshan@...ux.vnet.ibm.com>
Subject: Re: [PATCH net-next v2 04/10] net/ncsi: Package and channel
 management

Hi,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Gavin-Shan/NCSI-Support/20160715-190549
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/swab.h:4:0,
                    from include/uapi/linux/byteorder/little_endian.h:12,
                    from include/linux/byteorder/little_endian.h:4,
                    from arch/x86/include/uapi/asm/byteorder.h:4,
                    from include/asm-generic/bitops/le.h:5,
                    from arch/x86/include/asm/bitops.h:504,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from net/ncsi/ncsi-manage.c:10:
   net/ncsi/ncsi-manage.c: In function 'ncsi_register_dev':
>> net/ncsi/ncsi-manage.c:1134:32: error: 'ETH_P_NCSI' undeclared (first use in this function)
     ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
                                   ^
   include/uapi/linux/swab.h:100:54: note: in definition of macro '__swab16'
    #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))
                                                         ^
   include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__cpu_to_be16'
    #define cpu_to_be16 __cpu_to_be16
                        ^~~~~~~~~~~~~
>> net/ncsi/ncsi-manage.c:1134:20: note: in expansion of macro 'cpu_to_be16'
     ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
                       ^~~~~~~~~~~
   net/ncsi/ncsi-manage.c:1134:32: note: each undeclared identifier is reported only once for each function it appears in
     ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
                                   ^
   include/uapi/linux/swab.h:100:54: note: in definition of macro '__swab16'
    #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))
                                                         ^
   include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__cpu_to_be16'
    #define cpu_to_be16 __cpu_to_be16
                        ^~~~~~~~~~~~~
>> net/ncsi/ncsi-manage.c:1134:20: note: in expansion of macro 'cpu_to_be16'
     ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
                       ^~~~~~~~~~~

vim +/ETH_P_NCSI +1134 net/ncsi/ncsi-manage.c

  1128			register_inet6addr_notifier(&ncsi_inet6addr_notifier);
  1129	#endif
  1130		list_add_tail_rcu(&ndp->node, &ncsi_dev_list);
  1131		spin_unlock_irqrestore(&ncsi_dev_lock, flags);
  1132	
  1133		/* Register NCSI packet Rx handler */
> 1134		ndp->ptype.type = cpu_to_be16(ETH_P_NCSI);
  1135		ndp->ptype.func = ncsi_rcv_rsp;
  1136		ndp->ptype.dev = dev;
  1137		dev_add_pack(&ndp->ptype);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (55093 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ