summaryrefslogtreecommitdiff
path: root/mm/userfaultfd.c
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2018-03-10 11:29:29 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-11 22:53:32 -0400
commit5d02a58dae60bf71a32625ec510b116ee22faebc (patch)
treea126a61a0114262bd247b69ad006ba2a40ab0ff0 /mm/userfaultfd.c
parentf96818a7cc864ac612c157b5c5e8c57c4b3e0136 (diff)
net: hns3: fix for buffer overflow smatch warning
This patch fixes the buffer overflow warning by refactoring hclgevf_bind_ring_to_vector and hclge_get_ring_chain_from_mbx. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Fixes: dde1a86e93ca ("net: hns3: Add mailbox support to PF driver") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions