diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-09-19 18:32:40 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:03 +0100 |
| commit | 9431f720b8209d61d9701e410965e364bd88a501 (patch) | |
| tree | ea1605bcb9989f9d3dc07c0bb8614e2ccee76483 /drivers/net/ethernet/broadcom/bcm63xx_enet.c | |
| parent | a2e4caeac47b47af044b9a7518cbb31e3ad1bf92 (diff) | |
net: xilinx: fix return type of ndo_start_xmit function
[ Upstream commit 81255af8d9d5565004792c295dde49344df450ca ]
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, so make sure the implementation in
this driver has returns 'netdev_tx_t' value, and change the function
return type to netdev_tx_t.
Found by coccinelle.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcm63xx_enet.c')
0 files changed, 0 insertions, 0 deletions
