diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2007-02-27 22:39:44 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-11 12:14:02 -0400 |
commit | 684b7fe976554d12e6266d7280c87a0f3feff02e (patch) | |
tree | 42037688e8867faf8e859096985e6e0c19b13474 /drivers/scsi/scsi.c | |
parent | 862794fa3fd4c8a44ee22582418736c93e0d3c3a (diff) |
[SCSI] constants.c: cleanup, verbose result printing
Clean up constants.c and make result printing more user friendly:
- Refactor the command and sense functions so that the actual
formatting can be called from the various helper functions with the
correct prefix.
- Replace scsi_print_hostbyte() and scsi_print_driverbyte() with
scsi_print_result() which is verbose when CONFIG_SCSI_CONSTANTS is
on.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions