[PATCH 2/3] ipr: Array error logging fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bugme 4547. The following patch fixes a bug in ipr's error logging.

Signed-off-by: Brian King <brking@xxxxxxxxxx>
---

 linux-2.6.12-rc3-bjking1/drivers/scsi/ipr.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/ipr.c~ipr_array_error_fix drivers/scsi/ipr.c
--- linux-2.6.12-rc3/drivers/scsi/ipr.c~ipr_array_error_fix	2005-05-02 14:35:01.000000000 -0500
+++ linux-2.6.12-rc3-bjking1/drivers/scsi/ipr.c	2005-05-02 14:35:21.000000000 -0500
@@ -1054,7 +1054,7 @@ static void ipr_log_array_error(struct i
 				array_entry->dev_res_addr.lun);
 		}
 
-		if (array_entry->dev_res_addr.bus >= IPR_MAX_NUM_BUSES) {
+		if (array_entry->expected_dev_res_addr.bus >= IPR_MAX_NUM_BUSES) {
 			ipr_err("Expected Location: unknown\n");
 		} else {
 			ipr_err("Expected Location: %d:%d:%d:%d\n",
_
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux