linux/drivers/s390
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
..
block headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
char [S390] improve suspend/resume error messages 2009-07-07 16:37:53 +02:00
cio [S390] qdio: Sanitize do_QDIO sanity checks 2009-06-22 12:08:21 +02:00
crypto [S390] zcrypt: fix scheduling of hrtimer ap_poll_timer 2009-07-24 12:41:02 +02:00
kvm virtio: find_vqs/del_vqs virtio operations 2009-06-12 22:16:36 +09:30
net [S390] driver_data access 2009-06-22 12:08:23 +02:00
scsi [SCSI] zfcp: Handle failures during device allocation correctly 2009-09-05 08:49:46 -05:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00