summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-10-24 14:26:59 +0200
committerChristoph Hellwig <hch@lst.de>2014-11-12 11:16:04 +0100
commit3cc958cc19278de5fa090f3f7f1ed48b0170980a (patch)
tree479e1481ed6fcfb6e1556dbfbb75d0557fd38bb0 /include/scsi
parent1fa6b5fbba8c7d4d0cbc428efc4838b813046420 (diff)
downloadlinux-3cc958cc19278de5fa090f3f7f1ed48b0170980a.tar.bz2
scsi: separate out scsi_(host|driver)byte_string()
Export functions for later use. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_dbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h
index 81d041822229..50f4d8542ece 100644
--- a/include/scsi/scsi_dbg.h
+++ b/include/scsi/scsi_dbg.h
@@ -19,6 +19,8 @@ extern void __scsi_print_sense(const struct scsi_device *, const char *name,
int sense_len);
extern void scsi_show_result(int);
extern void scsi_print_result(struct scsi_cmnd *);
+extern const char *scsi_hostbyte_string(int);
+extern const char *scsi_driverbyte_string(int);
extern const char *scsi_sense_key_string(unsigned char);
extern const char *scsi_extd_sense_format(unsigned char, unsigned char,
const char **);