diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-01-28 19:08:32 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-02-08 19:12:25 -0500 |
commit | 32fe45274edb5926abc0fac7263d9f889d02d9cf (patch) | |
tree | 9319a88178f2beb436ced19aa01059c5e3c98fa9 /fs/dlm | |
parent | ead821268c14a8f87b5cb1079aed10bb16373fe8 (diff) | |
download | linux-stable-32fe45274edb5926abc0fac7263d9f889d02d9cf.tar.gz linux-stable-32fe45274edb5926abc0fac7263d9f889d02d9cf.tar.bz2 linux-stable-32fe45274edb5926abc0fac7263d9f889d02d9cf.zip |
scsi: aic94xx: Add missing check for dma_map_single()
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>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions