Messages in this thread | | | Date | Tue, 18 Sep 2018 20:03:14 -0700 (PDT) | Subject | Re: [PATCH net-next] net: cavium: fix return type of ndo_start_xmit function | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@huawei.com> Date: Tue, 18 Sep 2018 14:19:05 +0800
> 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>
Applied.
| |