Home
last modified time | relevance | path

Searched hist:e6ce3822a9f264b3f24c1acdc624131fb014f2f0 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/apple/
H A Dmace.cdiff 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 Dmacmace.cdiff 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 Dbmac.cdiff 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>