linux-yocto/drivers/scsi
Thomas Fourier 39dac98aca scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu()
[ Upstream commit 00f452a1b0 ]

dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().

Fixes: b3a271a94d ("[SCSI] qla4xxx: support iscsiadm session mgmt")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250618071742.21822-2-fourier.thomas@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 16:03:06 +02:00
..
aacraid scsi: aacraid: Rearrange order of struct aac_srb_unit 2024-10-10 11:57:36 +02:00
aic7xxx scsi: aic7xxx: Fix firmware build fatal error 2023-07-31 11:28:55 -04:00
aic94xx scsi: libsas: Delete sas_ata_task.retry_count 2023-08-21 17:50:59 -04:00
arcmsr scsi: arcmsr: Support new PCI device IDs 1883 and 1886 2024-02-05 20:14:19 +00:00
arm
be2iscsi scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle() 2023-12-13 18:45:17 +01:00
bfa scsi: bfa: Fix use-after-free in bfad_im_module_exit() 2024-12-09 10:32:18 +01:00
bnx2fc scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload 2024-05-17 12:02:11 +02:00
bnx2i scsi: bnx2i: Replace all non-returning strlcpy with strscpy 2023-05-26 13:52:19 -07:00
csiostor scsi: csiostor: Avoid function pointer casts 2024-03-26 18:20:01 -04:00
cxgbi
cxlflash
device_handler scsi: core: alua: I/O errors for ALUA state transitions 2024-07-25 09:50:39 +02:00
elx scsi: elx: efct: Fix memory leak in efct_hw_parse_filter() 2025-06-27 11:09:04 +01:00
esas2r
fcoe scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock" 2024-02-23 09:25:01 +01:00
fnic scsi: fnic: Return error if vmalloc() failed 2024-01-25 15:35:22 -08:00
hisi_sas scsi: hisi_sas: Call I_T_nexus after soft reset for SATA disk 2025-06-19 15:28:12 +02:00
ibmvscsi scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool 2023-11-28 17:19:42 +00:00
ibmvscsi_tgt
isci scsi: isci: Fix an error code problem in isci_io_request_build() 2024-02-05 20:14:34 +00:00
libfc scsi: libfc: Fix up timeout error in fc_fcp_rec_error() 2024-02-05 20:14:20 +00:00
libsas scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed 2024-07-25 09:50:53 +02:00
lpfc scsi: lpfc: Use memcpy() for BIOS version 2025-06-27 11:08:56 +01:00
megaraid scsi: megaraid_sas: Fix invalid node index 2025-07-06 11:00:14 +02:00
mpi3mr scsi: mpi3mr: Add level check to control event logging 2025-06-04 14:41:53 +02:00
mpt3sas scsi: mpt3sas: Send a diag reset if target reset fails 2025-06-04 14:42:06 +02:00
mvsas scsi: libsas: Delete sas_ssp_task.task_prio 2023-08-21 17:50:58 -04:00
pcmcia scsi: Add HAS_IOPORT dependencies 2023-05-31 19:59:26 -04:00
pm8001 scsi: pm80xx: Set phy_attached to zero when device is gone 2025-05-02 07:51:01 +02:00
qedf scsi: qedf: Use designated initializer for struct qed_fcoe_cb_ops 2025-06-19 15:28:08 +02:00
qedi scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() 2024-12-09 10:32:19 +01:00
qla2xxx scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() 2025-07-10 16:03:06 +02:00
qla4xxx scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu() 2025-07-10 16:03:06 +02:00
smartpqi scsi: smartpqi: correct stream detection 2024-10-10 11:57:34 +02:00
snic scsi: snic: Fix double free in snic_tgt_create() 2023-08-24 22:30:32 -04:00
sym53c8xx_2 scsi: sym53c8xx: Replace all non-returning strlcpy() with strscpy() 2023-05-31 18:04:30 -04:00
.gitignore
3w-9xxx.c scsi: 3w-9xxx: Replace all non-returning strlcpy with strscpy 2023-05-26 13:52:19 -07:00
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe() 2023-05-22 17:31:56 -04:00
3w-xxxx.h
53c700_d.h_shipped
53c700.c scsi: 53c700: Check that command slot is not NULL 2023-07-31 14:38:17 -04:00
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c
aha152x.c
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c
atari_scsi.c
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c scsi: replace the fmode_t argument to scsi_ioctl with a simple bool 2023-06-12 08:04:04 -06:00
constants.c
dc395x.c
dc395x.h
dmx3191d.c
esp_scsi.c
esp_scsi.h
fdomain_isa.c
fdomain_pci.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380.c
gvp11.c scsi: gvp11: Remove unused gvp11_setup() function 2023-08-21 16:37:11 -04:00
gvp11.h
hosts.c scsi: core: Fix unremoved procfs host directory regression 2024-04-03 15:28:59 +02:00
hpsa_cmd.h
hpsa.c scsi: hpsa: Fix allocation size for Scsi_Host private data 2024-06-12 11:11:43 +02:00
hpsa.h
hptiop.c overflow: Add struct_size_t() helper 2023-05-26 13:52:19 -07:00
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: restrict to TCP sockets 2023-09-17 17:46:13 +01:00
iscsi_tcp.h scsi: iscsi_tcp: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage 2023-06-24 15:50:13 -07:00
jazz_esp.c
Kconfig scsi: jazz_esp: Only build if SCSI core is builtin 2024-03-01 13:35:06 +01:00
lasi700.c
libiscsi_tcp.c
libiscsi.c
mac_esp.c
mac_scsi.c scsi: mac_scsi: Disallow bus errors during PDMA send 2024-10-04 16:29:49 +02:00
mac53c94.c
mac53c94.h
Makefile
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c scsi: core: Improve type safety of scsi_rescan_device() 2023-08-24 22:11:29 -04:00
mvumi.h
myrb.c scsi: mylex: Fix sysfs buffer lengths 2024-04-10 16:36:00 +02:00
myrb.h
myrs.c scsi: mylex: Fix sysfs buffer lengths 2024-04-10 16:36:00 +02:00
myrs.h
ncr53c8xx.c scsi: ncr53c8xx: Replace strlcpy() with strscpy() 2023-06-21 21:13:00 -04:00
ncr53c8xx.h
NCR5380.c scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers 2024-10-10 11:57:37 +02:00
NCR5380.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
pmcraid.c scsi: pmcraid: Use pci_dev_id() to simplify the code 2023-08-21 17:13:56 -04:00
pmcraid.h
ppa.c scsi: ppa: Fix accidentally reversed conditions for 16-bit and 32-bit EPP 2023-09-05 05:26:49 -04:00
ppa.h scsi: ppa: Add a module parameter for the transfer mode 2023-08-21 16:32:40 -04:00
ps3rom.c
qla1280.c scsi: qla1280: Fix kernel oops when debug level > 2 2025-03-22 12:50:40 -07:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2025-01-02 10:32:04 +01:00
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c scsi: qlogicpti: Mark qlogicpti_info() static 2023-08-21 16:37:11 -04:00
qlogicpti.h
raid_class.c scsi: core: raid_class: Remove raid_component_add() 2023-08-24 21:34:28 -04:00
script_asm.pl
scsi_bsg.c scsi: replace the fmode_t argument to ->sg_io_fn with a simple bool 2023-06-12 08:04:04 -06:00
scsi_common.c scsi: core: Use min() instead of open-coding it 2023-05-31 11:05:34 -04:00
scsi_debug.c scsi: scsi_debug: Fix hrtimer support for ndelay 2024-12-14 19:59:49 +01:00
scsi_debugfs.c scsi: core: Report error list information in debugfs 2023-08-24 22:13:03 -04:00
scsi_debugfs.h
scsi_devinfo.c
scsi_dh.c
scsi_error.c scsi: core: Move scsi_host_busy() out of host lock if it is for per-command 2024-02-16 19:10:53 +01:00
scsi_ioctl.c scsi: replace the fmode_t argument to scsi_ioctl with a simple bool 2023-06-12 08:04:04 -06:00
scsi_lib_dma.c
scsi_lib.c scsi: core: Clear flags for scsi_cmnd that did not complete 2025-05-02 07:50:43 +02:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler 2024-02-05 20:14:34 +00:00
scsi_proc.c scsi: core: Fix legacy /proc parsing buffer overflow 2023-07-31 15:39:39 -04:00
scsi_sas_internal.h
scsi_scan.c scsi: core: Use GFP_NOIO to avoid circular locking dependency 2025-03-22 12:50:40 -07:00
scsi_sysctl.c
scsi_sysfs.c scsi: core: Improve type safety of scsi_rescan_device() 2023-08-24 22:11:29 -04:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Allow setting rport state to current state 2024-11-08 16:28:21 +01:00
scsi_transport_iscsi.c scsi: iscsi: Fix incorrect error path labels for flashnode operations 2025-06-19 15:28:40 +02:00
scsi_transport_sas.c scsi: mpi3mr: Fix ATA NCQ priority support 2024-06-21 14:38:25 +02:00
scsi_transport_spi.c scsi: spi: Fix sshdr use 2024-08-29 17:33:28 +02:00
scsi_transport_srp.c scsi: core: Replace scsi_target_block() with scsi_block_targets() 2023-06-16 12:19:59 -04:00
scsi.c scsi: Improve CDL control 2025-05-02 07:50:48 +02:00
scsicam.c
sd_dif.c
sd_trace.h
sd_zbc.c scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer 2025-05-22 14:12:22 +02:00
sd.c scsi: core: Handle depopulation and restoration in progress 2025-02-27 04:10:46 -08:00
sd.h scsi: sd: Do not issue commands to suspended disks on shutdown 2023-09-28 21:23:18 +09:00
sense_codes.h
ses.c
sg.c scsi: sg: Fix slab-use-after-free read in sg_release() 2024-12-14 19:59:49 +01:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c minmax: scsi: fix mis-use of 'clamp()' in sr.c 2024-08-03 08:54:33 +02:00
sr_vendor.c
sr.c SCSI misc on 20230629 2023-06-30 11:57:07 -07:00
sr.h scsi: sr: Fix unintentional arithmetic wraparound 2024-07-25 09:50:40 +02:00
st_options.h
st.c scsi: st: Restore some drive settings after reset 2025-06-04 14:42:13 +02:00
st.h scsi: st: Restore some drive settings after reset 2025-06-04 14:42:13 +02:00
stex.c scsi: stex: Fix gcc 13 warnings 2023-05-31 11:36:40 -04:00
storvsc_drv.c scsi: storvsc: Increase the timeouts to storvsc_timeout 2025-06-27 11:08:59 +01:00
sun_esp.c scsi: sun_esp: Explicitly include correct DT includes 2023-07-23 15:49:41 -04:00
sun3_scsi_vme.c
sun3_scsi.c
sun3x_esp.c
virtio_scsi.c scsi: core: Improve type safety of scsi_rescan_device() 2023-08-24 22:11:29 -04:00
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c scsi: wd33c93: Don't use stale scsi_pointer value 2024-10-17 15:24:34 +02:00
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c scsi: xen-scsifront: shost_priv() can never return NULL 2023-08-24 22:06:44 -04:00
zalon.c
zorro_esp.c
zorro7xx.c