Patch against latest scsi rc fixes.

Change scsi send/completion logging back to terser output:

print_command was renamed __scsi_print_command, but two print_command
calls were renamed to scsi_print_command rather than __scsi_print_command.

__scsi_print_command at one time did not print KERN_INFO prefix, change it
back to not print it.

Signed off by: Patrick Mansfield <[EMAIL PROTECTED]>

diff -uprN -X /home/patman/dontdiff 
scsi-rc-fix-2.6.11-rc2/drivers/scsi/constants.c 
terser-cmd/drivers/scsi/constants.c
--- scsi-rc-fix-2.6.11-rc2/drivers/scsi/constants.c     Tue Jan 25 12:26:21 2005
+++ terser-cmd/drivers/scsi/constants.c Tue Jan 25 12:27:38 2005
@@ -342,7 +342,7 @@ void __scsi_print_command(unsigned char 
 {
        int k, len;
 
-       print_opcode_name(command, 0, 1);
+       print_opcode_name(command, 0, 0);
        if (VARIABLE_LENGTH_CMD == command[0])
                len = command[7] + 8;
        else
diff -uprN -X /home/patman/dontdiff scsi-rc-fix-2.6.11-rc2/drivers/scsi/scsi.c 
terser-cmd/drivers/scsi/scsi.c
--- scsi-rc-fix-2.6.11-rc2/drivers/scsi/scsi.c  Tue Jan 25 11:08:54 2005
+++ terser-cmd/drivers/scsi/scsi.c      Tue Jan 25 11:11:31 2005
@@ -424,7 +424,7 @@ void scsi_log_send(struct scsi_cmnd *cmd
                         * output in scsi_log_completion.
                         */
                        printk("                 ");
-                       scsi_print_command(cmd);
+                       __scsi_print_command(cmd);
                        if (level > 3) {
                                printk(KERN_INFO "buffer = 0x%p, bufflen = %d,"
                                       " done = 0x%p, queuecommand 0x%p\n",
@@ -492,7 +492,7 @@ void scsi_log_completion(struct scsi_cmn
                                printk("UNKNOWN");
                        }
                        printk(" %8x ", cmd->result);
-                       scsi_print_command(cmd);
+                       __scsi_print_command(cmd);
                        if (status_byte(cmd->result) & CHECK_CONDITION) {
                                /*
                                 * XXX The print_sense formatting/prefix
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to