]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add pointer checking at the beginning of the exported functions.
authorYonglong Liu <liuyonglong@huawei.com>
Wed, 20 Feb 2019 02:32:40 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 00:29:04 +0000 (16:29 -0800)
commit9404fac8f72639aada9dcd4b6b2000a4bf659b46
tree39a839b9aa538b827b473dcb4652af9e39f96958
parente5d5270f1fe07f3cfdd8e4f2d191941f62d05fc7
net: hns3: add pointer checking at the beginning of the exported functions.

These functions are exported, add pointer checking at the beginning
can make them more safe.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.c