summaryrefslogtreecommitdiff
path: root/drivers/sbus
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-01-15 04:17:47 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-23 17:29:28 (GMT)
commita24484f281dda11e4fc0041a51907d3564da3d7f (patch)
tree4ce9a5b3f7911d417e16dddf11a9b23f863cce0b /drivers/sbus
parentd814c5173c671cf2c88d4e07db01b13312467ecd (diff)
downloadlinux-fsl-qoriq-a24484f281dda11e4fc0041a51907d3564da3d7f.tar.xz
[SCSI] sg: set class_data after success
If cdev_add fails in sg_add, sg_remove crashes since class_data is bogus. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions