IB/ipath: add serial number to hardware freeze error message
Also added the word "Hardware" after "Fatal" to make it more obvious that it's hardware, not software. Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
525d0ca1d4
commit
ff0b8597ec
2 changed files with 6 additions and 4 deletions
|
@ -461,8 +461,9 @@ static void ipath_ht_handle_hwerrors(struct ipath_devdata *dd, char *msg,
|
||||||
* times.
|
* times.
|
||||||
*/
|
*/
|
||||||
if (dd->ipath_flags & IPATH_INITTED) {
|
if (dd->ipath_flags & IPATH_INITTED) {
|
||||||
ipath_dev_err(dd, "Fatal Error (freeze "
|
ipath_dev_err(dd, "Fatal Hardware Error (freeze "
|
||||||
"mode), no longer usable\n");
|
"mode), no longer usable, SN %.16s\n",
|
||||||
|
dd->ipath_serial);
|
||||||
isfatal = 1;
|
isfatal = 1;
|
||||||
}
|
}
|
||||||
*dd->ipath_statusp &= ~IPATH_STATUS_IB_READY;
|
*dd->ipath_statusp &= ~IPATH_STATUS_IB_READY;
|
||||||
|
|
|
@ -363,8 +363,9 @@ static void ipath_pe_handle_hwerrors(struct ipath_devdata *dd, char *msg,
|
||||||
* and we get here multiple times
|
* and we get here multiple times
|
||||||
*/
|
*/
|
||||||
if (dd->ipath_flags & IPATH_INITTED) {
|
if (dd->ipath_flags & IPATH_INITTED) {
|
||||||
ipath_dev_err(dd, "Fatal Error (freeze "
|
ipath_dev_err(dd, "Fatal Hardware Error (freeze "
|
||||||
"mode), no longer usable\n");
|
"mode), no longer usable, SN %.16s\n",
|
||||||
|
dd->ipath_serial);
|
||||||
isfatal = 1;
|
isfatal = 1;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Reference in a new issue