diff options
| author | Guangbin Huang <huangguangbin@huawei.com> | 2019-07-29 05:53:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-07-29 18:23:40 +0300 |
| commit | aa3253b8899d685811d159288f21cd2a2dbb5f0b (patch) | |
| tree | 1df1fccc19526a15295f4d6c145a097aca70727d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 44950d28cccf3049696e02d0adebb10e112cee24 (diff) | |
| download | linux-aa3253b8899d685811d159288f21cd2a2dbb5f0b.tar.xz | |
net: hns3: add a check for get_reset_level
For some cases, ops->get_reset_level may not be implemented, so we
should check whether it is NULL before calling get_reset_level.
Signed-off-by: Guangbin Huang <huangguangbin@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
