diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-09-21 06:02:37 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-09-22 05:15:14 +0300 |
| commit | f3bf939f3d4552becb115d76e17b3e5957bab4a2 (patch) | |
| tree | 6a1d527f533e5178173b1c973c8162f3ed15ac46 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 72b462798c2a258725dd741d1c6c139446e20d12 (diff) | |
| download | linux-f3bf939f3d4552becb115d76e17b3e5957bab4a2.tar.xz | |
net: cirrus: 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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
