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] [day] [month] [year] [list]
Date:   Fri, 12 Apr 2019 04:56:48 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Tom Herbert <tom@...bertland.com>
Cc:     kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
        Tom Herbert <tom@...ntonium.net>
Subject: Re: [PATCH v2 net-next 3/6] exthdrs: Registration of TLV handlers
 and parameters

Hi Tom,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Tom-Herbert/exthdrs-Create-exthdrs_options-c/20190412-024542
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

   net/ipv6/exthdrs_options.c:205:30: sparse: symbol 'ipv6_tlv_param_table' redeclared with different type (originally declared at include/net/ipv6.h:418) - different address spaces
>> net/ipv6/exthdrs_options.c:209:30: sparse: incorrect type in argument 1 (different address spaces) @@    expected struct tlv_param_table *tlv_param_table @@    got struct tlv_param_struct tlv_param_table *tlv_param_table @@
   net/ipv6/exthdrs_options.c:209:30:    expected struct tlv_param_table *tlv_param_table
   net/ipv6/exthdrs_options.c:209:30:    got struct tlv_param_table [noderef] <asn:4>*<noident>
   net/ipv6/exthdrs_options.c:216:23: sparse: incorrect type in argument 1 (different address spaces) @@    expected struct tlv_param_table *tlv_param_table @@    got struct tlv_param_struct tlv_param_table *tlv_param_table @@
   net/ipv6/exthdrs_options.c:216:23:    expected struct tlv_param_table *tlv_param_table
   net/ipv6/exthdrs_options.c:216:23:    got struct tlv_param_table [noderef] <asn:4>*<noident>

vim +209 net/ipv6/exthdrs_options.c

   204	
 > 205	struct tlv_param_table __rcu ipv6_tlv_param_table;
   206	
   207	static int __init ipv6_exthdrs_init(void)
   208	{
 > 209		return exthdrs_init(&ipv6_tlv_param_table, tlv_init_params,
   210				    ARRAY_SIZE(tlv_init_params));
   211	}
   212	module_init(ipv6_exthdrs_init);
   213	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ