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>
This commit is contained in:

committed by
Christoph Hellwig

parent
2104551969
commit
026f8da8da
@@ -21,7 +21,7 @@ extern void scsi_print_sense(const struct scsi_cmnd *);
|
||||
extern void __scsi_print_sense(const struct scsi_device *, const char *name,
|
||||
const unsigned char *sense_buffer,
|
||||
int sense_len);
|
||||
extern void scsi_print_result(struct scsi_cmnd *, const char *, int);
|
||||
extern void scsi_print_result(const struct scsi_cmnd *, const char *, int);
|
||||
extern const char *scsi_hostbyte_string(int);
|
||||
extern const char *scsi_driverbyte_string(int);
|
||||
extern const char *scsi_mlreturn_string(int);
|
||||
|
Reference in New Issue
Block a user