[net-next:master 64/65] drivers/net/ethernet/realtek/r8169.c:6756:35: sparse: incorrect type in argument 1 (different address spaces)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hayes,

There are new sparse warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   061a5c316b6526dbc729049a16243ec27937cc31
commit: c558386b836ee97762e12495101c6e373f20e69d [64/65] r8169: support RTL8168G

All sparse warnings:

+ drivers/net/ethernet/realtek/r8169.c:6756:35: sparse: incorrect type in argument 1 (different address spaces)
  drivers/net/ethernet/realtek/r8169.c:6756:35:    expected struct rtl8169_private *tp
  drivers/net/ethernet/realtek/r8169.c:6756:35:    got void [noderef] <asn:2>*ioaddr
  drivers/net/ethernet/realtek/r8169.c:6763:35: sparse: incorrect type in argument 1 (different address spaces)
  drivers/net/ethernet/realtek/r8169.c:6763:35:    expected struct rtl8169_private *tp
  drivers/net/ethernet/realtek/r8169.c:6763:35:    got void [noderef] <asn:2>*ioaddr

vim +6756 drivers/net/ethernet/realtek/r8169.c
  6753		msleep(1);
  6754		RTL_W8(MCU, RTL_R8(MCU) & ~NOW_IS_OOB);
  6755	
> 6756		data = r8168_mac_ocp_read(ioaddr, 0xe8de);
  6757		data &= ~(1 << 14);
  6758		r8168_mac_ocp_write(tp, 0xe8de, data);
  6759	

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@xxxxxxxxxxxxxxx>                     Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux