Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0137e59e authored by Himanshu Madhani's avatar Himanshu Madhani Committed by James Bottomley
Browse files

qla2xxx: Add udev notification to save fw dump for ISP27XX

parent f4bf5e3c
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -787,11 +787,12 @@ qla27xx_walk_template(struct scsi_qla_host *vha,
	ql_dbg(ql_dbg_misc, vha, 0xd01b,
	ql_dbg(ql_dbg_misc, vha, 0xd01b,
	    "%s: len=%lx\n", __func__, *len);
	    "%s: len=%lx\n", __func__, *len);


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

		qla2x00_post_uevent_work(vha, QLA_UEVENT_CODE_FW_DUMP);
	}
}
}


static void
static void