diff for duplicates of <20051017120229.GA5834@lst.de> diff --git a/a/1.txt b/N1/1.txt index e7d39a0..800cd92 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,8 +5,7 @@ Could one of the sparc people please test the patch below to kill it? Index: linux-2.6/drivers/scsi/qlogicpti.c -=================================================================== ---- linux-2.6.orig/drivers/scsi/qlogicpti.c 2005-10-17 13:53:19.000000000 +0200 +=================================--- linux-2.6.orig/drivers/scsi/qlogicpti.c 2005-10-17 13:53:19.000000000 +0200 +++ linux-2.6/drivers/scsi/qlogicpti.c 2005-10-17 13:55:07.000000000 +0200 @@ -312,8 +312,6 @@ } @@ -73,9 +72,9 @@ Index: linux-2.6/drivers/scsi/qlogicpti.c -#endif - ); - -- if ((qpti->sbits & (1 << tgt)) == 0) { -- int ok = host_byte(Cmnd->result) == DID_OK; -- if (Cmnd->cmnd[0] == 0x12 && ok) { +- if ((qpti->sbits & (1 << tgt)) = 0) { +- int ok = host_byte(Cmnd->result) = DID_OK; +- if (Cmnd->cmnd[0] = 0x12 && ok) { - unsigned char *iqd; - unsigned int iqd_len; - @@ -130,7 +129,7 @@ Index: linux-2.6/drivers/scsi/qlogicpti.c - * We've peeked at all targets for this bus- time - * to set parameters for devices for real now. - */ -- if (qpti->sbits == 0xffff) { +- if (qpti->sbits = 0xffff) { - int i; - for(i = 0; i < MAX_TARGETS; i++) { - u_short param[6]; @@ -164,7 +163,7 @@ Index: linux-2.6/drivers/scsi/qlogicpti.c - * capability-configuring, then we're done with all adapters - * and can rock on.. - */ -- if (qpti == NULL) +- if (qpti = NULL) - Cmnd->device->host->hostt->queuecommand = qlogicpti_queuecommand; - - return qlogicpti_queuecommand(Cmnd, done); @@ -222,8 +221,7 @@ Index: linux-2.6/drivers/scsi/qlogicpti.c .eh_bus_reset_handler = qlogicpti_reset, .can_queue = QLOGICPTI_REQ_QUEUE_LEN, Index: linux-2.6/drivers/scsi/qlogicpti.h -=================================================================== ---- linux-2.6.orig/drivers/scsi/qlogicpti.h 2005-10-17 13:52:34.000000000 +0200 +=================================--- linux-2.6.orig/drivers/scsi/qlogicpti.h 2005-10-17 13:52:34.000000000 +0200 +++ linux-2.6/drivers/scsi/qlogicpti.h 2005-10-17 13:53:43.000000000 +0200 @@ -379,9 +379,7 @@ #define SREG_SPMASK 0x03 /* Mask for switch pack */ diff --git a/a/content_digest b/N1/content_digest index 6cc78e2..1fdccca 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Christoph Hellwig <hch@lst.de>\0" "Subject\0[PATCH] kill qlogicpti inquiry sniffing\0" - "Date\0Mon, 17 Oct 2005 14:02:29 +0200\0" + "Date\0Mon, 17 Oct 2005 12:02:29 +0000\0" "To\0jejb@steeleye.com" davem@davemloft.net " tcallawa@redhat.com\0" @@ -15,8 +15,7 @@ "\n" "\n" "Index: linux-2.6/drivers/scsi/qlogicpti.c\n" - "===================================================================\n" - "--- linux-2.6.orig/drivers/scsi/qlogicpti.c\t2005-10-17 13:53:19.000000000 +0200\n" + "=================================--- linux-2.6.orig/drivers/scsi/qlogicpti.c\t2005-10-17 13:53:19.000000000 +0200\n" "+++ linux-2.6/drivers/scsi/qlogicpti.c\t2005-10-17 13:55:07.000000000 +0200\n" "@@ -312,8 +312,6 @@\n" " \t\t}\n" @@ -83,9 +82,9 @@ "-#endif\n" "-\t\t );\n" "-\n" - "-\tif ((qpti->sbits & (1 << tgt)) == 0) {\n" - "-\t\tint ok = host_byte(Cmnd->result) == DID_OK;\n" - "-\t\tif (Cmnd->cmnd[0] == 0x12 && ok) {\n" + "-\tif ((qpti->sbits & (1 << tgt)) = 0) {\n" + "-\t\tint ok = host_byte(Cmnd->result) = DID_OK;\n" + "-\t\tif (Cmnd->cmnd[0] = 0x12 && ok) {\n" "-\t\t\tunsigned char *iqd;\n" "-\t\t\tunsigned int iqd_len;\n" "-\n" @@ -140,7 +139,7 @@ "-\t * We've peeked at all targets for this bus- time\n" "-\t * to set parameters for devices for real now.\n" "-\t */\n" - "-\tif (qpti->sbits == 0xffff) {\n" + "-\tif (qpti->sbits = 0xffff) {\n" "-\t\tint i;\n" "-\t\tfor(i = 0; i < MAX_TARGETS; i++) {\n" "-\t\t\tu_short param[6];\n" @@ -174,7 +173,7 @@ "-\t * capability-configuring, then we're done with all adapters\n" "-\t * and can rock on..\n" "-\t */\n" - "-\tif (qpti == NULL)\n" + "-\tif (qpti = NULL)\n" "-\t\tCmnd->device->host->hostt->queuecommand = qlogicpti_queuecommand;\n" "-\n" "-\treturn qlogicpti_queuecommand(Cmnd, done);\n" @@ -232,8 +231,7 @@ " \t.eh_bus_reset_handler\t= qlogicpti_reset,\n" " \t.can_queue\t\t= QLOGICPTI_REQ_QUEUE_LEN,\n" "Index: linux-2.6/drivers/scsi/qlogicpti.h\n" - "===================================================================\n" - "--- linux-2.6.orig/drivers/scsi/qlogicpti.h\t2005-10-17 13:52:34.000000000 +0200\n" + "=================================--- linux-2.6.orig/drivers/scsi/qlogicpti.h\t2005-10-17 13:52:34.000000000 +0200\n" "+++ linux-2.6/drivers/scsi/qlogicpti.h\t2005-10-17 13:53:43.000000000 +0200\n" "@@ -379,9 +379,7 @@\n" " #define SREG_SPMASK 0x03 /* Mask for switch pack */\n" @@ -247,4 +245,4 @@ " \n" /* How to twiddle them bits... */ -e06bc11b7308a73db5be650488c3c9effa14eea44385ad873f25a053c3c96f89 +9fffb55590fb7a45cf2848b9f4880dc5d2478a448f8a6a8d57c75eaa817c313c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.