aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorHimanshu Madhani <himanshu.madhani@qlogic.com>2015-04-09 15:00:01 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-04-10 11:42:10 -0400
commit0137e59e6271fc91f9e6c854d7833ad8ff8cb50b (patch)
tree6a039ac7f140fb1fe925e9fa5ff8d632bc80f615 /drivers/scsi
parentf4bf5e3c11dbc1e030ad245d970ce7a2df4b21dd (diff)
qla2xxx: Add udev notification to save fw dump for ISP27XX
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_tmpl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_tmpl.c b/drivers/scsi/qla2xxx/qla_tmpl.c
index e077333d404e..d52cdb863243 100644
--- a/drivers/scsi/qla2xxx/qla_tmpl.c
+++ b/drivers/scsi/qla2xxx/qla_tmpl.c
@@ -787,11 +787,12 @@ qla27xx_walk_template(struct scsi_qla_host *vha,
787 ql_dbg(ql_dbg_misc, vha, 0xd01b, 787 ql_dbg(ql_dbg_misc, vha, 0xd01b,
788 "%s: len=%lx\n", __func__, *len); 788 "%s: len=%lx\n", __func__, *len);
789 789
790 if (buf) 790 if (buf) {
791 ql_log(ql_log_warn, vha, 0xd015, 791 ql_log(ql_log_warn, vha, 0xd015,
792 "Firmware dump saved to temp buffer (%ld/%p)\n", 792 "Firmware dump saved to temp buffer (%ld/%p)\n",
793 vha->host_no, vha->hw->fw_dump); 793 vha->host_no, vha->hw->fw_dump);
794 794 qla2x00_post_uevent_work(vha, QLA_UEVENT_CODE_FW_DUMP);
795 }
795} 796}
796 797
797static void 798static void