OpenCloudOS-Kernel/drivers/scsi/aic94xx
Quentin Lambert aa8c65a4fd scsi: aic94xx: Add a missing call to kfree
Most error branches following the call to kzalloc contain a call to
kfree. This patch add these calls where they are missing and set the
relevant pointers to NULL.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-29 11:21:49 -05:00
..
Kconfig
Makefile scsi: change to new flag variable 2011-03-17 14:05:35 +01:00
aic94xx.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
aic94xx_dev.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
aic94xx_dump.c aix94xx: Use angle brackets for system includes 2011-09-15 14:02:57 +02:00
aic94xx_dump.h
aic94xx_hwi.c scsi: aic94xx: Add a missing call to kfree 2016-11-29 11:21:49 -05:00
aic94xx_hwi.h
aic94xx_init.c SCSI queue for 4.4. 2015-11-12 07:06:18 -05:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_reg_def.h Fix common misspellings 2011-03-31 11:26:23 -03:00
aic94xx_sas.h scsi: Centralise ssp frame information units 2015-11-25 22:12:50 -05:00
aic94xx_scb.c [SCSI] isci: export phy events via ->lldd_control_phy() 2011-10-02 13:24:26 -05:00
aic94xx_sds.c aic94xx: Skip reading user settings if flash is not found 2015-08-28 13:14:54 -07:00
aic94xx_sds.h
aic94xx_seq.c treewide: Fix typos in printk 2016-04-18 11:23:24 +02:00
aic94xx_seq.h
aic94xx_task.c Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2014-12-11 18:52:37 -08:00
aic94xx_tmf.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00