OSDN Git Service

[PATCH] fix obvious "&& 0xFFFFFF" typo in cpqfcTSworker
authorWilly Tarreau <w@1wt.eu>
Sun, 19 Nov 2006 14:13:27 +0000 (15:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 19 Nov 2006 17:02:08 +0000 (18:02 +0100)
drivers/scsi/cpqfcTSworker.c

index 7ce9b01..295a40c 100644 (file)
@@ -1261,7 +1261,7 @@ static void ProcessELS_Request(CPQFCHBA * dev, TachFCHDR_GCMND * fchs)
                                                // Terminate I/O with "retry" potential
                                                cpqfcTSTerminateExchange(dev, &pLoggedInPort->ScsiNexus, PORTID_CHANGED);
                                        } else {
-                                               printk(" Got 3 LOGOuts - terminating comm. with port_id %Xh\n", fchs->s_id && 0xFFFFFF);
+                                               printk(" Got 3 LOGOuts - terminating comm. with port_id %Xh\n", fchs->s_id & 0xFFFFFF);
                                                GiveUpOnDevice = 1;
                                        }
                                } else {