]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: 7990: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 12:55:52 +0000 (20:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:26:14 +0000 (14:26 -0700)
commit9532131f6995002e88390b8b6572a44531c1fae0
treecf4449c3f0f37774f2bf9f35f6877e871f3f1c19
parent787e4a79cd5ffc46fe5fa1ce9464e79143423ac0
net: 7990: Fix use correct return type for ndo_start_xmit()

The method ndo_start_xmit() returns a value of type netdev_tx_t. Fix
the ndo function to use the correct type.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/7990.c
drivers/net/ethernet/amd/7990.h