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:   Thu, 8 Mar 2018 10:44:05 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Paolo Abeni <pabeni@...hat.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 178/193] drivers/net/ipvlan/ipvlan.h:183:32:
 sparse: incompatible types in comparison expression (different address
 spaces)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   a366e300ae9fc466d333e6d8f2bc5d58ed248041
commit: 1ec54cb44e6731c3cb251bcf9251d65a4b4f6306 [178/193] net: unpollute priv_flags space
reproduce:
        # apt-get install sparse
        git checkout 1ec54cb44e6731c3cb251bcf9251d65a4b4f6306
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   drivers/net/ipvlan/ipvlan_core.c:57:36: sparse: incorrect type in argument 1 (different base types) @@    expected unsigned int [unsigned] [usertype] a @@    got unsigned int [unsigned] [usertype] a @@
   drivers/net/ipvlan/ipvlan_core.c:57:36:    expected unsigned int [unsigned] [usertype] a
   drivers/net/ipvlan/ipvlan_core.c:57:36:    got restricted __be32 const [usertype] s_addr
>> drivers/net/ipvlan/ipvlan.h:183:32: sparse: incompatible types in comparison expression (different address spaces)
--
>> drivers/net/ipvlan/ipvlan.h:183:32: sparse: incompatible types in comparison expression (different address spaces)
>> drivers/net/ipvlan/ipvlan.h:183:32: sparse: incompatible types in comparison expression (different address spaces)
>> drivers/net/ipvlan/ipvlan.h:183:32: sparse: incompatible types in comparison expression (different address spaces)

vim +183 drivers/net/ipvlan/ipvlan.h

   180	
   181	static inline bool netif_is_ipvlan_port(const struct net_device *dev)
   182	{
 > 183		return dev->rx_handler == ipvlan_handle_frame;
   184	}
   185	

---
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