summaryrefslogtreecommitdiffstats
path: root/drivers/edac/thunderx_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/thunderx_edac.c')
-rw-r--r--drivers/edac/thunderx_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index f39f4bb7b0f9..955f73cdd5fd 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -670,7 +670,7 @@ static inline int pci_dev_to_mc_idx(struct pci_dev *pdev)
int node = dev_to_node(&pdev->dev);
int ret = PCI_FUNC(pdev->devfn);
- ret += max(node, 0) << 8;
+ ret += max(node, 0) << 3;
return ret;
}