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

Reply via email to