linux/drivers/scsi/aic94xx
Jiasheng Jiang 32fe45274e 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: 2908d778ab ("[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>
2023-02-08 19:12:25 -05:00
..
aic94xx_dev.c scsi: libsas: Introduce struct smp_rps_resp 2022-06-10 13:08:06 -04:00
aic94xx_dump.c scsi: aic94xx: Correct misspelling of function asd_dump_seq_state() 2021-03-18 23:35:54 -04:00
aic94xx_dump.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_hwi.c scsi: aic94xx: Fix a couple of misnamed function names 2021-03-15 22:14:50 -04:00
aic94xx_hwi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_init.c scsi: libsas: Delete lldd_clear_aca callback 2022-02-19 15:59:34 -05:00
aic94xx_reg_def.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sas.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_scb.c scsi: aic94xx: Switch back to original libsas event notifiers 2021-01-22 21:31:09 -05:00
aic94xx_sds.c treewide: Replace open-coded flex arrays in unions 2021-10-18 12:28:53 -07:00
aic94xx_sds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_seq.c scsi: aic94xx: Document 'lseq' and repair asd_update_port_links() header 2020-07-15 17:25:12 -04:00
aic94xx_seq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_task.c scsi: aic94xx: Add missing check for dma_map_single() 2023-02-08 19:12:25 -05:00
aic94xx_tmf.c scsi: libsas: Delete lldd_clear_aca callback 2022-02-19 15:59:34 -05:00
aic94xx.h scsi: libsas: Delete lldd_clear_aca callback 2022-02-19 15:59:34 -05:00
Kconfig treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 2019-06-19 17:09:09 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00