diff options
author | 2019-09-11 10:40:38 +0800 | |
---|---|---|
committer | 2019-09-11 09:08:46 +0100 | |
commit | fa17c708ff5aa169eb87c9de665c1f2011cc51b9 (patch) | |
tree | 9987048c1f2b15700475fa5cbb936d912b9e8d75 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: modify some logs format (diff) | |
download | linux-dev-fa17c708ff5aa169eb87c9de665c1f2011cc51b9.tar.xz linux-dev-fa17c708ff5aa169eb87c9de665c1f2011cc51b9.zip |
net: hns3: check NULL pointer before use
This patch checks ops->set_default_reset_request whether is NULL
before using it in function hns3_slot_reset.
Signed-off-by: Guangbin Huang <huangguangbin2@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-postgresql.py')
0 files changed, 0 insertions, 0 deletions