--- drivers/scsi/scsi_lib.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index fc3f168..9905e2f 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -920,12 +920,14 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) action = ACTION_FAIL; break; default: - description = "Unhandled sense code"; + SCSI_LOG_HLCOMPLETE(1, scmd_printk(KERN_INFO, cmd, + "Unhandled sense code\n")); action = ACTION_FAIL; break; } } else { - description = "Unhandled error code"; + SCSI_LOG_HLCOMPLETE(1, scmd_printk(KERN_INFO, cmd, + "Unhandled error code\n")); action = ACTION_FAIL; } -- 1.7.4.2 -- To unsubscribe from this list: 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