mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-20 03:24:03 +08:00
virtio_net: Fix function name typo
Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
23e258e1a8
commit
1824a98974
@ -748,7 +748,7 @@ static void virtnet_set_rx_mode(struct net_device *dev)
|
|||||||
kfree(buf);
|
kfree(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void virnet_vlan_rx_add_vid(struct net_device *dev, u16 vid)
|
static void virtnet_vlan_rx_add_vid(struct net_device *dev, u16 vid)
|
||||||
{
|
{
|
||||||
struct virtnet_info *vi = netdev_priv(dev);
|
struct virtnet_info *vi = netdev_priv(dev);
|
||||||
struct scatterlist sg;
|
struct scatterlist sg;
|
||||||
@ -760,7 +760,7 @@ static void virnet_vlan_rx_add_vid(struct net_device *dev, u16 vid)
|
|||||||
dev_warn(&dev->dev, "Failed to add VLAN ID %d.\n", vid);
|
dev_warn(&dev->dev, "Failed to add VLAN ID %d.\n", vid);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void virnet_vlan_rx_kill_vid(struct net_device *dev, u16 vid)
|
static void virtnet_vlan_rx_kill_vid(struct net_device *dev, u16 vid)
|
||||||
{
|
{
|
||||||
struct virtnet_info *vi = netdev_priv(dev);
|
struct virtnet_info *vi = netdev_priv(dev);
|
||||||
struct scatterlist sg;
|
struct scatterlist sg;
|
||||||
@ -798,8 +798,8 @@ static const struct net_device_ops virtnet_netdev = {
|
|||||||
.ndo_set_mac_address = virtnet_set_mac_address,
|
.ndo_set_mac_address = virtnet_set_mac_address,
|
||||||
.ndo_set_rx_mode = virtnet_set_rx_mode,
|
.ndo_set_rx_mode = virtnet_set_rx_mode,
|
||||||
.ndo_change_mtu = virtnet_change_mtu,
|
.ndo_change_mtu = virtnet_change_mtu,
|
||||||
.ndo_vlan_rx_add_vid = virnet_vlan_rx_add_vid,
|
.ndo_vlan_rx_add_vid = virtnet_vlan_rx_add_vid,
|
||||||
.ndo_vlan_rx_kill_vid = virnet_vlan_rx_kill_vid,
|
.ndo_vlan_rx_kill_vid = virtnet_vlan_rx_kill_vid,
|
||||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||||
.ndo_poll_controller = virtnet_netpoll,
|
.ndo_poll_controller = virtnet_netpoll,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user