diff options
| author | Guangbin Huang <huangguangbin2@huawei.com> | 2019-09-11 10:40:38 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-09-11 09:08:46 +0100 |
| commit | fa17c708ff5aa169eb87c9de665c1f2011cc51b9 (patch) | |
| tree | 9987048c1f2b15700475fa5cbb936d912b9e8d75 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 96e65abb77002722b27d773a1c28e63ed1934d4a (diff) | |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
