From: Brian King Date: Wed, 22 Feb 2006 20:28:24 +0000 (-0600) Subject: [SCSI] scsi: Handle device_add failure in scsi_alloc_target X-Git-Tag: v2.6.17-rc1~1129^2~4^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32f95792500794a0a7cce266b7dafb2bee323bf8;p=pandora-kernel.git [SCSI] scsi: Handle device_add failure in scsi_alloc_target Fixes scsi to handle device_add failure in scsi_alloc_target. Without this patch, if this call were to fail, we can oops when we free the target. Signed-off-by: Brian King Signed-off-by: James Bottomley --- Reading git-diff-tree failed