aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-01-08 01:43:47 -0500
committerChristoph Hellwig <hch@lst.de>2015-01-09 09:44:31 -0500
commit026f8da8da4ce3423bf89e8e9091f55ae3863eda (patch)
treec4a4fef7a66a6ba9d331f3ea2e07b982d935e028 /drivers/scsi/scsi.c
parent2104551969e8011e72788dc5674609d437448cf6 (diff)
scsi: use per-cpu buffer for formatting scsi_print_result()
Convert scsi_print_result() to use the per-cpu buffer for decoding the command result and disposition. Tested-by: Robert Elliott <elliott@hp.com> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index e02885451425..7f028cb1d099 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -572,7 +572,7 @@ void scsi_log_completion(struct scsi_cmnd *cmd, int disposition)
572 SCSI_LOG_MLCOMPLETE_BITS); 572 SCSI_LOG_MLCOMPLETE_BITS);
573 if (((level > 0) && (cmd->result || disposition != SUCCESS)) || 573 if (((level > 0) && (cmd->result || disposition != SUCCESS)) ||
574 (level > 1)) { 574 (level > 1)) {
575 scsi_print_result(cmd, "Done: ", disposition); 575 scsi_print_result(cmd, "Done", disposition);
576 scsi_print_command(cmd); 576 scsi_print_command(cmd);
577 if (status_byte(cmd->result) & CHECK_CONDITION) 577 if (status_byte(cmd->result) & CHECK_CONDITION)
578 scsi_print_sense(cmd); 578 scsi_print_sense(cmd);