On 09/20/2018 07:32 AM, YueHaibing wrote: > 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. > May be I missed smth, but it's acceptable to report standard error codes from .xmit() callback as per dev_xmit_complete(). -- regards, -grygorii
- [PATCH net-next 09/22] net: smsc: fix return type of ndo... YueHaibing
- [PATCH net-next 06/22] net: wiznet: fix return type of n... YueHaibing
- [PATCH net-next 07/22] net: i825xx: fix return type of n... YueHaibing
- [PATCH net-next 08/22] net: apple: fix return type of nd... YueHaibing
- [PATCH net-next 05/22] net: sgi: fix return type of ndo_... YueHaibing
- [PATCH net-next 04/22] net: cirrus: fix return type of n... YueHaibing
- [PATCH net-next 02/22] net: freescale: fix return type o... YueHaibing
- [PATCH net-next 03/22] net: seeq: fix return type of ndo... YueHaibing
- Re: [PATCH net-next 00/22] net: fix return type of ndo_s... David Miller
- Re: [PATCH net-next 00/22] net: fix return type of ndo_s... Grygorii Strashko