diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2018-03-10 11:29:29 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-11 22:53:32 -0400 |
commit | 5d02a58dae60bf71a32625ec510b116ee22faebc (patch) | |
tree | a126a61a0114262bd247b69ad006ba2a40ab0ff0 /Documentation/isdn | |
parent | f96818a7cc864ac612c157b5c5e8c57c4b3e0136 (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 'Documentation/isdn')
0 files changed, 0 insertions, 0 deletions