commit | bdd59d661153a59af79112676565276ae2a1f457 | [log] [tgz] |
---|---|---|
author | Yonglong Liu <liuyonglong@huawei.com> | Wed Feb 20 10:32:40 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 21 16:29:04 2019 -0800 |
tree | 39a839b9aa538b827b473dcb4652af9e39f96958 | |
parent | 2fb44dd0e803eea6c8e6d8a94e6f028929bd8e8e [diff] |
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>