diff options
| author | 2022-03-05 01:14:11 -0800 | |
|---|---|---|
| committer | 2022-03-07 11:28:38 +0000 | |
| commit | e0058f0fa80f6e09c4d363779c241c45a3c56b94 (patch) | |
| tree | 7f2d8a9ef75a5d2279c949bc17f86cac7c93176d /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() (diff) | |
| download | linux-dev-e0058f0fa80f6e09c4d363779c241c45a3c56b94.tar.xz linux-dev-e0058f0fa80f6e09c4d363779c241c45a3c56b94.zip | |
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 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
