[SCSI] bfa: firmware download fix
authorJing Huang <huangj@brocade.com>
Wed, 13 Apr 2011 18:44:03 +0000 (11:44 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 15:53:49 +0000 (10:53 -0500)
commit61338a0b3493fddfca2980ece4423839748fcbab
tree77406ab428762e76063d94de996cbf120a6265d3
parent7dacb64f49848f1f28018fd3e58af8d6ba234960
[SCSI] bfa: firmware download fix

This patch includes fixes for two issues releated to firmware download
implementation: 1) Merged memory leak fix provided by Jesper Juhl
<jj@chaosbits.net>. Basically we need to call release_firmware() after
request_firmware(). 2) fixed issues with the firmware download interface
as pointed out by Rolf Eike Beer <eike@sf-mail.de> in linux-scsi. Rearranged
the code and fixed related function protypes.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_im.h