lkml.org 
[lkml]   [2006]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[2.4 PATCH] scsi 53c7,8xx parenthesis fix
Date
Hello,

This patch removes an extra parenthesis in debugger_fn_bs() code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

drivers/scsi/53c7,8xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.4.34-pre6-a/drivers/scsi/53c7,8xx.c 2004-11-17 12:54:21.000000000 +0100
+++ linux-2.4.34-pre6-b/drivers/scsi/53c7,8xx.c 2006-12-01 12:21:50.000000000 +0100
@@ -3197,7 +3197,7 @@ debugger_fn_bs (struct Scsi_Host *host,

bp->address = (u32 *) args[0];
memcpy ((void *) bp->old_instruction, (void *) bp->address, 8);
- bp->old_size = (((bp->old_instruction[0] >> 24) & DCMD_TYPE_MASK) ==
+ bp->old_size = ((bp->old_instruction[0] >> 24) & DCMD_TYPE_MASK) ==
DCMD_TYPE_MMI ? 3 : 2;
bp->next = hostdata->breakpoints;
hostdata->breakpoints = bp->next;

--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-01 15:47    [from the cache]
©2003-2011 Jasper Spaans