]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] lpfc 8.3.12: Critical fixes
authorJames Smart <james.smart@emulex.com>
Tue, 6 Apr 2010 19:04:33 +0000 (15:04 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 18:45:24 +0000 (13:45 -0500)
commit49198b371e2da20548d1408a7d3a8dea2f91263c
treeb04993f74b2798bbf9e18f952ec6d1fd18cb0db6
parent6c8eea54ec62c1a3fdb21de583639c49dcdc8811
[SCSI] lpfc 8.3.12: Critical fixes

- Move the code to increase the sg seg count for LP21000 adapters.
- Check pcmd on command completion before dereferencing it.
- Clear queue memory when creating firmware queues to prevent stale entries.
- Replace the use of PAGE_SIZE in many areas that assumed it was always 4k.
- Add an else clause to a conditional that needed to unlock the hba_lock.

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
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_sli.c