diff options
| author | Yunsheng Lin <[email protected]> | 2018-12-26 19:51:46 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-28 21:24:56 -0800 |
| commit | f9fc54d313fab2834f44f516459cdc8ac91d797f (patch) | |
| tree | a4fabcce30c4deaf8ea081be2544de3d5245678c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | a3c9311f62b4943228ae90f769775dd3bcbfa7c0 (diff) | |
ethtool: check the return value of get_regs_len
The return type for get_regs_len in struct ethtool_ops is int,
the hns3 driver may return error when failing to get the regs
len by sending cmd to firmware.
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions