From 0137e59e6271fc91f9e6c854d7833ad8ff8cb50b Mon Sep 17 00:00:00 2001 From: Himanshu Madhani Date: Thu, 9 Apr 2015 15:00:01 -0400 Subject: [PATCH] qla2xxx: Add udev notification to save fw dump for ISP27XX Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- drivers/scsi/qla2xxx/qla_tmpl.c | 5 +++-- 1 file 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, 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 -- 2.39.5