linux/drivers/net
Linus Walleij e36bfc0bc3 xen/netback: Pass (void *) to virt_to_page()
virt_to_page() takes a virtual address as argument but
the driver passes an unsigned long, which works because
the target platform(s) uses polymorphic macros to calculate
the page.

Since many architectures implement virt_to_pfn() as
a macro, this function becomes polymorphic and accepts both a
(unsigned long) and a (void *).

Fix this up by an explicit (void *) cast.

Cc: Wei Liu <wei.liu@kernel.org>
Cc: Paul Durrant <paul@xen.org>
Cc: xen-devel@lists.xenproject.org
Cc: netdev@vger.kernel.org
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-05-29 11:27:08 +02:00
..
appletalk
arcnet
bonding bonding: fix send_peer_notif overflow 2023-05-10 09:27:20 +01:00
caif
can can: kvaser_pciefd: Disable interrupts in probe error path 2023-05-17 09:02:40 +02:00
dsa net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset 2023-05-17 09:08:02 +01:00
ethernet net: isa: include net/Space.h 2023-05-17 21:27:30 -07:00
fddi net: fddi: skfp: rmt: Clean up some inconsistent indenting 2023-04-11 12:46:26 +02:00
fjes
hamradio hamradio: drop ISA_DMA_API dependency 2023-04-19 13:11:41 +01:00
hippi
hyperv hv_netvsc: Remove second mapping of send and recv buffers 2023-04-17 19:19:04 +00:00
ieee802154 spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
ipa
ipvlan ipvlan:Fix out-of-bounds caused by unclear skb->cb 2023-05-10 10:33:06 +01:00
mctp
mdio net: mdio: i2c: fix rollball accessors 2023-05-15 10:15:57 +01:00
netdevsim
pcs net: pcs: xpcs: fix C73 AN not getting enabled 2023-05-17 12:59:53 +01:00
phy net: phylink: fix ksettings_set() ethtool call 2023-05-15 10:31:23 +01:00
plip
ppp
pse-pd
slip
team
thunderbolt net: thunderbolt: Fix typos in comments 2023-04-12 21:09:12 -07:00
usb r8152: fix the autosuspend doesn't work 2023-05-03 09:12:10 +01:00
vmxnet3 net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete() 2023-04-19 09:03:05 +01:00
vxlan
wan spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
wireguard
wireless wifi: b43: fix incorrect __packed annotation 2023-05-17 09:24:09 +03:00
wwan net: wwan: t7xx: Ensure init is completed before system sleep 2023-05-17 13:02:25 +01:00
xen-netback xen/netback: Pass (void *) to virt_to_page() 2023-05-29 11:27:08 +02:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig net: veth: add page_pool stats 2023-04-24 18:07:08 -07:00
LICENSE.SRC
loopback.c
macsec.c macsec: Don't rely solely on the dst MAC address to identify destination MACsec device 2023-04-21 08:22:15 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: add vlan_get_protocol_and_depth() helper 2023-05-10 10:25:55 +01:00
tun.c tun: Fix memory leak for detached NAPI queue. 2023-05-17 09:02:55 +01:00
veth.c net: veth: add page_pool stats 2023-04-24 18:07:08 -07:00
virtio_net.c virtio_net: Fix error unwinding of XDP initialization 2023-05-15 08:46:48 +01:00
vrf.c
vsockmon.c
xen-netfront.c