diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2007-02-28 03:39:44 (GMT) |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-11 16:14:02 (GMT) |
commit | 684b7fe976554d12e6266d7280c87a0f3feff02e (patch) | |
tree | 42037688e8867faf8e859096985e6e0c19b13474 /drivers/scsi/scsi_lib.c | |
parent | 862794fa3fd4c8a44ee22582418736c93e0d3c3a (diff) | |
download | linux-fsl-qoriq-684b7fe976554d12e6266d7280c87a0f3feff02e.tar.xz |
[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_lib.c')
0 files changed, 0 insertions, 0 deletions