]> git.baikalelectronics.ru Git - kernel.git/commit
net: altera: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 5 May 2020 03:06:45 +0000 (11:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:15:41 +0000 (11:15 -0700)
commitc8a2569f9ae13576b2e83e9a816d828d3d8cb9e7
treedfb883494b5f174cef1a5d278f9b9407524c5a6a
parenta5a17f6eb49dd224fbca5b14e2fdd8d2f307a0fb
net: altera: 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/altera/altera_tse_main.c