Thread (32 messages) 32 messages, 6 authors, 2018-09-21

[PATCH net-next 00/22] net: fix return type of ndo_start_xmit function

From: grygorii.strashko@ti.com (Grygorii Strashko)
Date: 2018-09-20 17:06:44
Also in: linux-can, linux-hams, linux-mips, linux-omap, linuxppc-dev, lkml, netdev


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help