summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2007-07-20 16:50:10 -0500
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-21 08:53:33 -0500
commit6826ee4fdbe24c7aab56ce833ef94be81d190587 (patch)
tree4e14f18eec72bf421fde21abb3113880fe37c428 /drivers/scsi/3w-9xxx.c
parentd73f5222a618a91452d41c29f5996ce3d9c63673 (diff)
downloadop-kernel-dev-6826ee4fdbe24c7aab56ce833ef94be81d190587.zip
op-kernel-dev-6826ee4fdbe24c7aab56ce833ef94be81d190587.tar.gz
[SCSI] bsg: fix bsg_register_queue error path
unfortunately, if IS_ERR(class_dev) is true, that means class_dev isn't null and the check in the error leg is pointless ... it's also asking for trouble to request unregistration of a device we haven't actually created (although it works currently). Fix by using explicit gotos and unregisters. Acked-by: FUJITA Tomonori <tomof@acm.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud