diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-09-19 18:23:39 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:03 +0100 |
| commit | a2e4caeac47b47af044b9a7518cbb31e3ad1bf92 (patch) | |
| tree | 5cb5521ce1e71d1b9146247c963d6696b16450a2 /drivers/net/ethernet/broadcom/bcm63xx_enet.c | |
| parent | 6aa5efca2ba003cbd99f3489a82ee8e69611bfcc (diff) | |
net: toshiba: fix return type of ndo_start_xmit function
[ Upstream commit bacade822524e02f662d88f784d2ae821a5546fb ]
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
