mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
i7core_edac: fix misuse of logical operation in place of bitop
CC: Mauro Carvalho Chehab <[email protected]> Signed-off-by: David Sterba <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
c3b92c8787
commit
80b8ce89eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue