summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2019-09-11 10:40:38 +0800
committerDavid S. Miller <davem@davemloft.net>2019-09-11 09:08:46 +0100
commitfa17c708ff5aa169eb87c9de665c1f2011cc51b9 (patch)
tree9987048c1f2b15700475fa5cbb936d912b9e8d75 /net/compat.c
parent96e65abb77002722b27d773a1c28e63ed1934d4a (diff)
downloadlinux-stable-fa17c708ff5aa169eb87c9de665c1f2011cc51b9.tar.gz
linux-stable-fa17c708ff5aa169eb87c9de665c1f2011cc51b9.tar.bz2
linux-stable-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 'net/compat.c')
0 files changed, 0 insertions, 0 deletions