diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2022-03-05 01:14:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-07 11:28:38 +0000 |
commit | e0058f0fa80f6e09c4d363779c241c45a3c56b94 (patch) | |
tree | 7f2d8a9ef75a5d2279c949bc17f86cac7c93176d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d0aeb0d4a3f7d2a0df7e9545892bbeede8f2ac7e (diff) |
net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
The function dma_alloc_coherent() in qed_vf_hw_prepare() can fail, so
its return value should be checked.
Fixes: 1408cc1fa48c ("qed: Introduce VFs")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions