linux-kernelorg-stable/drivers/scsi
Thomas Fourier 85d6fbc47c scsi: fnic: Fix missing DMA mapping error in fnic_send_frame()
dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().

Fixes: a63e78eb2b ("scsi: fnic: Add support for fabric based solicited requests and responses")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250618065715.14740-2-fourier.thomas@gmail.com
Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com>
Reviewed-by: John Menghini <jmeneghi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-06-19 23:07:57 -04:00
..
aacraid scsi: aacraid: Remove useless code 2025-05-27 22:03:29 -04:00
aic7xxx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
aic94xx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
arcmsr treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
arm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
be2iscsi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bfa treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bnx2fc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bnx2i treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
csiostor treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cxgbi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
device_handler
elx scsi: elx: efct: Fix memory leak in efct_hw_parse_filter() 2025-06-16 17:52:05 -04:00
esas2r treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
fcoe treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
fnic scsi: fnic: Fix missing DMA mapping error in fnic_send_frame() 2025-06-19 23:07:57 -04:00
hisi_sas treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ibmvscsi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ibmvscsi_tgt scsi: Switch to use hrtimer_setup() 2025-02-18 11:19:03 +01:00
isci treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
libfc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
libsas treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lpfc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
megaraid scsi: megaraid_sas: Fix invalid node index 2025-06-19 22:47:46 -04:00
mpi3mr scsi: mpi3mr: Event processing debug improvement 2025-04-28 21:54:03 -04:00
mpt3sas scsi: mpt3sas: Fix _ctl_get_mpt_mctp_passthru_adapter() to return IOC pointer 2025-05-20 22:03:15 -04:00
mvsas Merge branch '6.16/scsi-queue' into 6.16/scsi-fixes 2025-06-09 15:34:06 -04:00
pcmcia
pm8001 Merge branch '6.15/scsi-fixes' into 6.16/scsi-staging 2025-04-28 20:56:57 -04:00
qedf scsi: qedf: Use designated initializer for struct qed_fcoe_cb_ops 2025-05-08 09:42:06 -07:00
qedi scsi: qedi: Remove unused qedi_get_proto_itt() 2025-04-21 21:51:09 -04:00
qla2xxx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
qla4xxx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
smartpqi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
snic scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
sym53c8xx_2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
.gitignore
3w-9xxx.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
3w-9xxx.h
3w-sas.c Merge patch series "scsi: Constify 'struct bin_attribute'" 2025-01-02 15:08:42 -05:00
3w-sas.h
3w-xxxx.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
3w-xxxx.h
53c700.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
53c700.h
53c700.scr
53c700_d.h_shipped
BusLogic.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
BusLogic.h scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
FlashPoint.c
Kconfig scsi: make ppa depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
Makefile scsi: cxlflash: Remove driver 2025-02-03 18:04:55 -05:00
NCR5380.c
NCR5380.h
a100u2w.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
aha152x.c scsi: make aha152x depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
atari_scsi.c
atp870u.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
atp870u.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
dc395x.h
dmx3191d.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
esp_scsi.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
esp_scsi.h scsi: esp: Fix variable typo 2025-01-02 13:42:35 -05:00
fdomain.c
fdomain.h
fdomain_isa.c
fdomain_pci.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
g_NCR5380.c
gvp11.c
gvp11.h
hosts.c
hpsa.c scsi: hpsa: Replace deprecated strncpy() with strscpy_pad() 2025-02-18 21:34:08 -05:00
hpsa.h
hpsa_cmd.h
hptiop.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
hptiop.h
imm.c scsi: make imm depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
imm.h
initio.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
initio.h
ipr.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ipr.h
ips.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
ips.h scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
iscsi_tcp.h scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
jazz_esp.c
lasi700.c
libiscsi.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
libiscsi_tcp.c scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
megaraid.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
mvumi.h
myrb.c scsi: myrb: Fix spelling mistake "statux" -> "status" 2025-04-28 21:14:28 -04:00
myrb.h
myrs.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
myrs.h
ncr53c8xx.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ncr53c8xx.h
nsp32.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
nsp32.h
nsp32_debug.c
nsp32_io.h
pmcraid.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pmcraid.h
ppa.c scsi: make ppa depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
ppa.h
ps3rom.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
qla1280.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2024-11-20 21:32:48 -05:00
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c scsi: Improve CDL control 2025-04-22 16:06:08 +09:00
scsi_bsg.c
scsi_common.c
scsi_debug.c scsi: scsi_debug: Reduce DEF_ATOMIC_WR_MAX_LENGTH 2025-05-05 22:08:35 -04:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: core: devinfo: Fix typo in comment 2025-05-27 21:59:33 -04:00
scsi_dh.c
scsi_error.c scsi: error: alua: I/O errors for ALUA state transitions 2025-06-09 22:02:13 -04:00
scsi_ioctl.c block: remove the q argument from blk_rq_map_kern 2025-05-07 07:31:07 -06:00
scsi_lib.c for-6.16/block-20250523 2025-05-26 11:39:36 -07:00
scsi_lib_dma.c
scsi_lib_test.c scsi: core: Add passthrough tests for success and no failure definitions 2025-01-21 12:16:17 -05:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: core: Remove unused scsi_dev_info_list_del_keyed() 2025-05-12 22:11:55 -04:00
scsi_proc.c
scsi_proto_test.c
scsi_sas_internal.h
scsi_scan.c scsi: core: Fix missing lock protection 2025-03-02 21:06:02 -05:00
scsi_sysctl.c scsi: logging: Fix scsi_logging_level bounds 2025-03-03 22:11:48 -05:00
scsi_sysfs.c Merge patch series "scsi: Constify 'struct bin_attribute'" 2025-01-02 15:08:42 -05:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Rename del_timer() in comment 2025-04-21 20:54:22 -04:00
scsi_transport_iscsi.c scsi: iscsi: Fix incorrect error path labels for flashnode operations 2025-06-09 15:18:49 -04:00
scsi_transport_sas.c scsi: transport: sas: spi: Fix kernel-doc for exported functions 2025-01-10 15:15:20 -05:00
scsi_transport_spi.c scsi: transport: sas: spi: Fix kernel-doc for exported functions 2025-01-10 15:15:20 -05:00
scsi_transport_srp.c scsi: scsi_transport_srp: Replace min/max nesting with clamp() 2025-04-03 10:54:31 -04:00
scsicam.c
sd.c scsi: sd: Remove the stream_status member from scsi_stream_status_header 2025-05-12 22:16:10 -04:00
sd.h
sd_dif.c
sd_trace.h
sd_zbc.c scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer 2025-05-12 22:35:48 -04:00
sense_codes.h
ses.c
sg.c scsi: sg: Remove unnecessary NULL check before unregister_sysctl_table() 2025-05-20 21:59:44 -04:00
sgiwd93.c
sim710.c
sni_53c710.c
sr.c block: add a queue_limits_commit_update_frozen helper 2025-01-10 07:29:23 -07:00
sr.h
sr_ioctl.c
sr_vendor.c
st.c scsi: st: Tighten the page format heuristics with MODE SELECT 2025-03-17 22:04:22 -04:00
st.h scsi: st: Modify st.c to use the new scsi_error counters 2025-02-03 17:43:31 -05:00
st_options.h
stex.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
storvsc_drv.c scsi: storvsc: Increase the timeouts to storvsc_timeout 2025-06-09 21:50:26 -04:00
sun3_scsi.c
sun3_scsi_vme.c
sun3x_esp.c
sun_esp.c
virtio_scsi.c SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c scsi: Convert SCSI drivers to .sdev_configure() 2024-12-04 15:34:28 -05:00
zalon.c
zorro7xx.c
zorro_esp.c