SCSI_PRINT_STATUS(9) SCSI mid layer SCSI_PRINT_STATUS(9)NAMEscsi_print_status - print scsi status description
SYNOPSIS
void scsi_print_status(unsigned char scsi_status);
ARGUMENTS
scsi_status
scsi status value
DESCRIPTION
If the status is recognized, the description is printed. Otherwise
“Unknown status” is output. No trailing space. If CONFIG_SCSI_CONSTANTS
is not set, then print status in hex (e.g. “0x2” for Check Condition).
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com>
Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 SCSI_PRINT_STATUS(9)