diff options
author | Hannes Reinecke <hare@suse.de> | 2015-01-08 01:43:47 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-09 09:44:31 -0500 |
commit | 026f8da8da4ce3423bf89e8e9091f55ae3863eda (patch) | |
tree | c4a4fef7a66a6ba9d331f3ea2e07b982d935e028 /include/scsi | |
parent | 2104551969e8011e72788dc5674609d437448cf6 (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 'include/scsi')
-rw-r--r-- | include/scsi/scsi_dbg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h index c7ed7b81b338..365b6745dc10 100644 --- a/include/scsi/scsi_dbg.h +++ b/include/scsi/scsi_dbg.h | |||
@@ -21,7 +21,7 @@ extern void scsi_print_sense(const struct scsi_cmnd *); | |||
21 | extern void __scsi_print_sense(const struct scsi_device *, const char *name, | 21 | extern void __scsi_print_sense(const struct scsi_device *, const char *name, |
22 | const unsigned char *sense_buffer, | 22 | const unsigned char *sense_buffer, |
23 | int sense_len); | 23 | int sense_len); |
24 | extern void scsi_print_result(struct scsi_cmnd *, const char *, int); | 24 | extern void scsi_print_result(const struct scsi_cmnd *, const char *, int); |
25 | extern const char *scsi_hostbyte_string(int); | 25 | extern const char *scsi_hostbyte_string(int); |
26 | extern const char *scsi_driverbyte_string(int); | 26 | extern const char *scsi_driverbyte_string(int); |
27 | extern const char *scsi_mlreturn_string(int); | 27 | extern const char *scsi_mlreturn_string(int); |