linux/drivers/scsi
Dan Carpenter 9dcf111dd3 scsi: qla4xxx: Prevent a potential error pointer dereference
The qla4xxx_get_ep_fwdb() function is supposed to return NULL on error,
but qla4xxx_ep_connect() returns error pointers.  Propagating the error
pointers will lead to an Oops in the caller, so change the error pointers
to NULL.

Fixes: 13483730a1 ("[SCSI] qla4xxx: fix flash/ddb support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/aJwnVKS9tHsw1tEu@stanley.mountain
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-08-14 23:22:46 -04:00
..
aacraid scsi: aacraid: Stop using PCI_IRQ_AFFINITY 2025-07-24 21:18:00 -04:00
aic7xxx
aic94xx
arcmsr sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
arm
be2iscsi
bfa scsi: bfa: Double-free fix 2025-07-14 21:10:30 -04:00
bnx2fc
bnx2i
csiostor
cxgbi
device_handler
elx SCSI misc on 20250730 2025-07-31 12:13:53 -07:00
esas2r sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
fcoe
fnic scsi: fnic: Remove a useless struct mempool forward declaration 2025-08-14 22:23:32 -04:00
hisi_sas scsi: Don't use %pK through printk() 2025-06-16 14:34:21 -04:00
ibmvscsi sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
ibmvscsi_tgt scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value 2025-07-14 20:56:49 -04:00
isci scsi: isci: Fix dma_unmap_sg() nents value 2025-07-14 20:57:25 -04:00
libfc
libsas SCSI misc on 20250806 2025-08-06 15:44:25 +03:00
lpfc Merge branch '6.17/scsi-queue' into 6.17/scsi-fixes 2025-08-12 21:36:18 -04:00
megaraid scsi: use block layer helpers to calculate num of queues 2025-07-01 10:24:19 -06:00
mpi3mr Merge patch series "mpi3mr: Few minor bug fixes" 2025-07-14 20:56:16 -04:00
mpt3sas scsi: mpt3sas: Fix a fw_event memory leak 2025-07-24 21:06:38 -04:00
mvsas SCSI misc on 20250730 2025-07-31 12:13:53 -07:00
pcmcia
pm8001 scsi: pm80xx: Add controller SCSI host fatal error uevents 2025-06-23 13:17:21 -04:00
qedf sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
qedi
qla2xxx SCSI misc on 20250730 2025-07-31 12:13:53 -07:00
qla4xxx scsi: qla4xxx: Prevent a potential error pointer dereference 2025-08-14 23:22:46 -04:00
smartpqi scsi: use block layer helpers to calculate num of queues 2025-07-01 10:24:19 -06:00
snic
sym53c8xx_2
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700.c
53c700.h
53c700.scr
53c700_d.h_shipped
BusLogic.c
BusLogic.h
FlashPoint.c
Kconfig
Makefile
NCR5380.c
NCR5380.h
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
bvme6000_scsi.c
ch.c
constants.c
dc395x.c
dc395x.h
dmx3191d.c
esp_scsi.c
esp_scsi.h
fdomain.c
fdomain.h
fdomain_isa.c
fdomain_pci.c
g_NCR5380.c
gvp11.c
gvp11.h
hosts.c scsi: core: Enforce unlimited max_segment_size when virt_boundary_mask is set 2025-06-24 21:20:58 -04:00
hpsa.c
hpsa.h
hpsa_cmd.h
hptiop.c
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
lasi700.c
libiscsi.c scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated 2025-07-21 23:48:36 -04:00
libiscsi_tcp.c
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c
mvumi.h
myrb.c
myrb.h
myrs.c
myrs.h
ncr53c8xx.c
ncr53c8xx.h
nsp32.c
nsp32.h
nsp32_debug.c
nsp32_io.h
pmcraid.c
pmcraid.h
ppa.c
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas.c
qlogicfas408.c
qlogicfas408.h
qlogicpti.c
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c scsi: core: Fix kernel doc for scsi_track_queue_full() 2025-07-14 20:56:55 -04:00
scsi_bsg.c
scsi_common.c
scsi_debug.c scsi: scsi_debug: Make read-only arrays static const 2025-07-30 23:26:50 -04:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: scsi_devinfo: Remove redundant 'found' 2025-06-24 21:17:22 -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
scsi_lib.c scsi: core: Use scsi_cmd_priv() instead of open-coding it 2025-07-08 22:11:42 -04:00
scsi_lib_dma.c
scsi_lib_test.c
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h
scsi_proc.c
scsi_proto_test.c
scsi_sas_internal.h
scsi_scan.c scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans 2025-07-24 22:00:43 -04:00
scsi_sysctl.c
scsi_sysfs.c Merge branch '6.17/scsi-queue' into 6.17/scsi-fixes 2025-08-12 21:36:18 -04:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Add comments to describe added 'rport' parameter 2025-07-21 23:13:34 -04:00
scsi_transport_iscsi.c SCSI misc on 20250806 2025-08-06 15:44:25 +03:00
scsi_transport_sas.c scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans 2025-07-24 22:00:43 -04:00
scsi_transport_spi.c
scsi_transport_srp.c
scsicam.c
sd.c SCSI misc on 20250806 2025-08-06 15:44:25 +03:00
sd.h
sd_dif.c block: introduce pi_tuple_size field in blk_integrity 2025-07-01 14:00:15 +02:00
sd_trace.h
sd_zbc.c
sense_codes.h
ses.c
sg.c
sgiwd93.c
sim710.c
sni_53c710.c
sr.c
sr.h
sr_ioctl.c
sr_vendor.c
st.c
st.h
st_options.h
stex.c
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 virtio: blk/scsi: use block layer helpers to calculate num of queues 2025-07-01 10:24:19 -06:00
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c
zorro_esp.c