diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-09-21 10:42:15 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:07 +0100 |
| commit | 819f6d97470d03571a5bf8aa663ddee2139c8bbd (patch) | |
| tree | 5b702bba8b91f39987aaa72d54bb28cc24f40de3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 8f64a1a7ff428a5f43a87433f5a39b222ac0b32a (diff) | |
net: micrel: fix return type of ndo_start_xmit function
[ Upstream commit 2b49117a5abee8478b0470cba46ac74f93b4a479 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
