projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b92c8
)
i7core_edac: fix misuse of logical operation in place of bitop
author
David Sterba
<dsterba@suse.cz>
Mon, 27 Dec 2010 15:39:12 +0000
(15:39 +0000)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 31 Oct 2011 17:10:04 +0000
(15:10 -0200)
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/i7core_edac.c
b/drivers/edac/i7core_edac.c
index f6cf448d69b4f468160e19fc29fab0ea473f04b8..35a0ff5273578716f45dc0c9e25f971d5e82f19d 100644
(file)
--- a/
drivers/edac/i7core_edac.c
+++ b/
drivers/edac/i7core_edac.c
@@
-731,7
+731,7
@@
static int get_dimm_config(const struct mem_ctl_info *mci)
debugf1("\t\t%#x\t%#x\t%#x\n",
(value[j] >> 27) & 0x1,
(value[j] >> 24) & 0x7,
- (value[j] &
&
((1 << 24) - 1)));
+ (value[j] & ((1 << 24) - 1)));
}
return 0;