Skip to content

Commit

Permalink
qla2xxx: Add udev notification to save fw dump for ISP27XX
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Himanshu Madhani authored and James Bottomley committed Apr 10, 2015
1 parent f4bf5e3 commit 0137e59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/scsi/qla2xxx/qla_tmpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,11 +787,12 @@ qla27xx_walk_template(struct scsi_qla_host *vha,
ql_dbg(ql_dbg_misc, vha, 0xd01b,
"%s: len=%lx\n", __func__, *len);

if (buf)
if (buf) {
ql_log(ql_log_warn, vha, 0xd015,
"Firmware dump saved to temp buffer (%ld/%p)\n",
vha->host_no, vha->hw->fw_dump);

qla2x00_post_uevent_work(vha, QLA_UEVENT_CODE_FW_DUMP);
}
}

static void
Expand Down

0 comments on commit 0137e59

Please sign in to comment.