commit | a63a3749c4d887981f49367db71d0401505be022 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Sun Jun 28 21:53:33 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 28 20:52:53 2020 -0700 |
tree | b2ece1ba7b4988f4d98894d7b0a9bc832a53c2a3 | |
parent | 673d8eb6cfbea0693a49e46775e325c0e651e6b1 [diff] |
net: plip: fix plip_tx_packet()'s return type The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>