linux/drivers/s390/scsi
Christof Schmitt 0fac3f477b [SCSI] zfcp: Handle failures during device allocation correctly
dev_set_name tries to allocate memory, so check the return value for
allocation failures. After dev_set_name succeeds, call device_register
as next step to be able to use put_device during error handling.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-09-05 08:49:46 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Handle failures during device allocation correctly 2009-09-05 08:49:46 -05:00
zfcp_ccw.c [SCSI] zfcp: Replace config semaphore with mutex 2009-09-05 08:49:42 -05:00
zfcp_cfdc.c [SCSI] zfcp: Reference counting for cfdc requests 2009-04-27 10:07:36 -05:00
zfcp_dbf.c [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_dbf.h [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_def.h [SCSI] zfcp: Replace config semaphore with mutex 2009-09-05 08:49:42 -05:00
zfcp_erp.c [SCSI] zfcp: Defer resource allocation to first ccw_set_online call 2009-09-05 08:49:41 -05:00
zfcp_ext.h [SCSI] zfcp: Apply common naming conventions to zfcp_fc 2009-09-05 08:49:33 -05:00
zfcp_fc.c [SCSI] zfcp: Replace config semaphore with mutex 2009-09-05 08:49:42 -05:00
zfcp_fsf.c [SCSI] zfcp: Simplify and update ct/gs and els timeout handling 2009-09-05 08:49:38 -05:00
zfcp_fsf.h [SCSI] zfcp: Move debug data from zfcp_data to own data structure 2009-09-05 08:49:06 -05:00
zfcp_qdio.c [SCSI] zfcp: introduce _setup, _destroy for qdio and FC 2009-09-05 08:49:32 -05:00
zfcp_scsi.c [SCSI] zfcp: resolve false usage of dd_data in fc_rport 2009-09-05 08:49:35 -05:00
zfcp_sysfs.c [SCSI] zfcp: Replace config semaphore with mutex 2009-09-05 08:49:42 -05:00