diff options
| author | Luc Van Oostenryck <[email protected]> | 2020-06-28 20:39:26 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-06-29 09:28:27 +0200 |
| commit | 41843ff0ece111515fc1913e4e5295fa398c5d00 (patch) | |
| tree | 038f44569114151fda39c1799b3cd103f35cf5cd /tools/perf/scripts/python | |
| parent | a45f04ba2422f6eab8226cd9ea05251e92b0914f (diff) | |
staging: ks7010: fix ks_wlan_start_xmit()'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 and
usind 'NETDEV_TX_OK' instead of 0 accordingly.
Signed-off-by: Luc Van Oostenryck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions