# Re: \[PATCH net-next\] net: amd: fix return type of ndo\_start\_xmit function

- From: David Miller \<davem@davemloft.net\>
- Date: 2018-09-20 04:19:45 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/09/5385820
- Thread: https://ratatoskr.run/netdev/2018/09/5384966/t.md

```text
From: YueHaibing <redacted>
Date: Wed, 19 Sep 2018 18:50:17 +0800

> 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 <redacted>

Applied.
```
