qla2xxx: Prevent multiple firmware dump collection for ISP27XX.
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Thu, 9 Apr 2015 19:00:05 +0000 (15:00 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 15:42:49 +0000 (08:42 -0700)
commite8fb1250ba5898c6c53e0063bbdcc9cadd580797
tree87eca2ecf3b3cb47d2613f9b27ced021ff96f2ff
parentfd564b5d5ddeead05f5b5cb8fbac6694f13f1007
qla2xxx: Prevent multiple firmware dump collection for ISP27XX.

For ISP27XX, driver will capture new firmware dump even if there is
one already collected. Prevent this from happening by checking
fw_dumped flag.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_tmpl.c