diff options
author | James Bottomley <jejb@titanic> | 2005-04-18 20:45:00 +0200 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 20:45:00 +0200 |
commit | c46f2ffb9e7fce7208c2639790e1ade42e00b146 (patch) | |
tree | 284912295d46a861930d0619788a650f56c2a29b /drivers/scsi/sg.c | |
parent | updates for CFQ oops fix (diff) | |
parent | [PATCH] scsi: scsi_send_eh_cmnd() cleanup (diff) | |
download | linux-c46f2ffb9e7fce7208c2639790e1ade42e00b146.tar.xz linux-c46f2ffb9e7fce7208c2639790e1ade42e00b146.zip |
merge by hand (scsi_device.h)
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r-- | drivers/scsi/sg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 32de9aabcb99..ce8332297dfa 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -51,6 +51,7 @@ static int sg_version_num = 30533; /* 2 digits for each component */ #include <linux/delay.h> #include "scsi.h" +#include <scsi/scsi_dbg.h> #include <scsi/scsi_host.h> #include <scsi/scsi_driver.h> #include <scsi/scsi_ioctl.h> @@ -1368,7 +1369,7 @@ sg_cmd_done(Scsi_Cmnd * SCpnt) if ((sdp->sgdebug > 0) && ((CHECK_CONDITION == srp->header.masked_status) || (COMMAND_TERMINATED == srp->header.masked_status))) - print_req_sense("sg_cmd_done", SRpnt); + scsi_print_req_sense("sg_cmd_done", SRpnt); /* Following if statement is a patch supplied by Eric Youngdale */ if (driver_byte(SRpnt->sr_result) != 0 |