OpenCloudOS-Kernel/drivers/scsi/pm8001
Maurizio Lombardi f2c6f180c9 pm8001: Fix potential null pointer dereference and memory leak.
The pm8001_get_phy_settings_info() function does not check
the kzalloc() return value and does not free the allocated memory.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Acked-by: Jack Wang <xjtuwjp@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-06-25 13:29:05 +02:00
..
Makefile [SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files 2013-05-10 07:47:47 -07:00
pm80xx_hwi.c [SCSI] pm80xx: Spinlock fix 2014-03-15 10:19:01 -07:00
pm80xx_hwi.h [SCSI] pm80xx: Resetting the phy state. 2013-12-02 10:35:52 -08:00
pm8001_chips.h [SCSI] pm8001: fix endian issue with code optimization. 2012-02-29 16:54:09 -06:00
pm8001_ctl.c Most of this is cleaning up various driver sysfs permissions so we can 2014-06-11 16:09:14 -07:00
pm8001_ctl.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_defs.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_hwi.c [SCSI] pm80xx: Spinlock fix 2014-03-15 10:19:01 -07:00
pm8001_hwi.h [SCSI] pm80xx: Resetting the phy state. 2013-12-02 10:35:52 -08:00
pm8001_init.c pm8001: Fix potential null pointer dereference and memory leak. 2014-06-25 13:29:05 +02:00
pm8001_sas.c [SCSI] pm80xx: fix problem of pm8001_work_fn reseting incorrect phy device 2014-03-15 10:19:22 -07:00
pm8001_sas.h [SCSI] pm80xx: Spinlock fix 2014-03-15 10:19:01 -07:00