summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2022-03-05 01:14:11 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-16 13:20:25 +0100
commitcf7a578096fe6b615934c2b0e1031306a7fc224f (patch)
treefbdb9dcd59c21b019d118baf3a216be0f70ff93d /include
parent2c2c7e4a12c7e274adda3b334d912169c515efe7 (diff)
net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
[ Upstream commit e0058f0fa80f6e09c4d363779c241c45a3c56b94 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions