diff options
author | 2018-01-12 16:23:17 +0800 | |
---|---|---|
committer | 2018-01-12 10:12:33 -0500 | |
commit | bd368416c3c432acd5b525f3e6b038bef5ee9e40 (patch) | |
tree | 2cd1e3db2f3646cb93b150cc7aa929f7a7f66afa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: add feature check when feature changed (diff) | |
download | linux-dev-bd368416c3c432acd5b525f3e6b038bef5ee9e40.tar.xz linux-dev-bd368416c3c432acd5b525f3e6b038bef5ee9e40.zip |
net: hns3: check for NULL function pointer in hns3_nic_set_features
It's necessary to check hook whether being defined before
calling, improve the reliability.
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@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