diff options
| author | Yunsheng Lin <[email protected]> | 2018-03-10 11:29:29 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-11 22:53:32 -0400 |
| commit | 5d02a58dae60bf71a32625ec510b116ee22faebc (patch) | |
| tree | a126a61a0114262bd247b69ad006ba2a40ab0ff0 /tools/perf/scripts | |
| 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 <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions