diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-08-03 10:51:28 -0400 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2010-08-04 05:15:09 -0400 |
commit | 962b70a1eb22c467b95756a290c694e73da17f41 (patch) | |
tree | cac318c3946e2d56bc987578237d087d0cbbe456 /drivers/edac/amd64_edac.c | |
parent | eba042a81edd6baaff44831b2d719b14a6d21e58 (diff) |
amd64_edac: Fix operator precendence error
The bitwise AND is of higher precedence, make that explicit.
Cc: <stable@kernel.org> # 34.x
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r-- | drivers/edac/amd64_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 0106d343a681..c29d24fe1856 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -1683,7 +1683,7 @@ static void f10_map_sysaddr_to_csrow(struct mem_ctl_info *mci, | |||
1683 | * ganged. Otherwise @chan should already contain the channel at | 1683 | * ganged. Otherwise @chan should already contain the channel at |
1684 | * this point. | 1684 | * this point. |
1685 | */ | 1685 | */ |
1686 | if (dct_ganging_enabled(pvt) && pvt->nbcfg & K8_NBCFG_CHIPKILL) | 1686 | if (dct_ganging_enabled(pvt) && (pvt->nbcfg & K8_NBCFG_CHIPKILL)) |
1687 | chan = get_channel_from_ecc_syndrome(mci, syndrome); | 1687 | chan = get_channel_from_ecc_syndrome(mci, syndrome); |
1688 | 1688 | ||
1689 | if (chan >= 0) | 1689 | if (chan >= 0) |