[SCSI] lpfc 8.3.23: BSG additions and fixes
authorJames Smart <james.smart@emulex.com>
Sat, 16 Apr 2011 15:03:43 +0000 (11:03 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 16:10:41 +0000 (11:10 -0500)
commitb6e3b9c606f271824bdeb6a40a080452eb086598
tree9180f8036f9a729b40b2c8243e241c600d6afa12
parentc31098cef5e091e22a02ff255f911e0ad71cc393
[SCSI] lpfc 8.3.23: BSG additions and fixes

- Fixed the mixed declarations and codes which violate ISO C90
   (declarations in subsections that assign at declaration)
- Add BSG data transfer size protection in mailbox command pass-through path
- Invoke BSG job_done while holding spinlock to fix deadlock
- Added support for checking SLI_CONFIG subcommands
- Fixed bug in BSG mailbox size check to non-embedded external buffer

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_bsg.h