Searched hist:e6ce3822a9f264b3f24c1acdc624131fb014f2f0 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/apple/ |
H A D | mace.c | diff e6ce3822a9f264b3f24c1acdc624131fb014f2f0 Fri Sep 21 05:46:37 CEST 2018 YueHaibing <yuehaibing@huawei.com> net: apple: fix return type of ndo_start_xmit function
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>
|
H A D | macmace.c | diff e6ce3822a9f264b3f24c1acdc624131fb014f2f0 Fri Sep 21 05:46:37 CEST 2018 YueHaibing <yuehaibing@huawei.com> net: apple: fix return type of ndo_start_xmit function
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>
|
H A D | bmac.c | diff e6ce3822a9f264b3f24c1acdc624131fb014f2f0 Fri Sep 21 05:46:37 CEST 2018 YueHaibing <yuehaibing@huawei.com> net: apple: fix return type of ndo_start_xmit function
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>
|