lkml.org 
[lkml]   [2007]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] edac i5000 parenthesis balance fix
Date
Hello,

This patch balances parenthesis in i5000 edac code.

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

drivers/edac/i5000_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -upr linux-2.6.22-rc4-mm1-a/drivers/edac/i5000_edac.c linux-2.6.22-rc4-mm1-b/drivers/edac/i5000_edac.c
--- linux-2.6.22-rc4-mm1-a/drivers/edac/i5000_edac.c 2007-06-06 12:32:19.000000000 +0200
+++ linux-2.6.22-rc4-mm1-b/drivers/edac/i5000_edac.c 2007-06-06 14:49:27.000000000 +0200
@@ -279,7 +279,7 @@
#define MTR_DRAM_BANKS(mtr) ((((mtr) >> 5) & 0x1) ? 8 : 4)
#define MTR_DRAM_BANKS_ADDR_BITS(mtr) ((MTR_DRAM_BANKS(mtr) == 8) ? 3 : 2)
#define MTR_DIMM_RANK(mtr) (((mtr) >> 4) & 0x1)
-#define MTR_DIMM_RANK_ADDR_BITS(mtr) ((MTR_DIM_RANKS(mtr) ? 2 : 1)
+#define MTR_DIMM_RANK_ADDR_BITS(mtr) (MTR_DIM_RANKS(mtr) ? 2 : 1)
#define MTR_DIMM_ROWS(mtr) (((mtr) >> 2) & 0x3)
#define MTR_DIMM_ROWS_ADDR_BITS(mtr) (MTR_DIMM_ROWS(mtr) + 13)
#define MTR_DIMM_COLS(mtr) ((mtr) & 0x3)
-
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: 2007-06-06 22:33    [W:0.028 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site