[SCSI] SCSI megaraid_sas: handle thrown errors
authorJeff Garzik <jeff@garzik.org>
Wed, 4 Oct 2006 10:34:03 +0000 (06:34 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 4 Oct 2006 18:26:25 +0000 (13:26 -0500)
commit83aabc1be551dd1f07266c125ff48ec62a2ce515
tree6a9add23d4f6d04d86dc33002e2089499f6e83d6
parentbb0766204c81d6bd01532476aec4e512c960fb4d
[SCSI] SCSI megaraid_sas: handle thrown errors

- handle clear_user() error

- handle and properly unwind from sysfs errors thrown during mod init

- adjust order of calls in megasas_exit() to precisely match
  registration order in megasas_init()

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Updated for extra attribute and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/megaraid_sas.c