Skip to content

Commit

Permalink
[SCSI] constants.c: cleanup, verbose result printing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
martinkpetersen authored and James Bottomley committed Mar 11, 2007
1 parent 862794f commit 684b7fe
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 126 deletions.
Loading

0 comments on commit 684b7fe

Please sign in to comment.