aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiasheng Jiang2023-01-28 19:08:32 +0800
committerGreg Kroah-Hartman2023-03-10 09:33:20 +0100
commitbe2876e01ad6a9c66b930eb074cf46c66f725644 (patch)
tree02f20afd34e1f421bfb812d703af2c6e4499ce50 /include/linux
parent847cdbdcd5a24c1eec9595161a23b88fef91ff42 (diff)
scsi: aic94xx: Add missing check for dma_map_single()
[ Upstream commit 32fe45274edb5926abc0fac7263d9f889d02d9cf ] Add check for dma_map_single() and return error if it fails in order to avoid invalid DMA address. Fixes: 2908d778ab3e ("[SCSI] aic94xx: new driver") Link: https://lore.kernel.org/r/20230128110832.6792-1-jiasheng@iscas.ac.cn Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions