projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4253868
)
i7core_edac: Avoid printing a warning when debug is disabled
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 24 Sep 2009 12:58:26 +0000
(09:58 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 10 May 2010 14:45:00 +0000
(11:45 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i7core_edac.c
b/drivers/edac/i7core_edac.c
index
2e4b0ab
..
0478cc8
100644
(file)
--- a/
drivers/edac/i7core_edac.c
+++ b/
drivers/edac/i7core_edac.c
@@
-471,7
+471,6
@@
static int get_dimm_config(struct mem_ctl_info *mci, int *csrow)
struct csrow_info *csr;
struct pci_dev *pdev;
int i, j;
- u8 socket = pvt->i7core_dev->socket;
unsigned long last_page = 0;
enum edac_type mode;
enum mem_type mtype;
@@
-488,7
+487,7
@@
static int get_dimm_config(struct mem_ctl_info *mci, int *csrow)
pci_read_config_dword(pdev, MC_CHANNEL_MAPPER, &pvt->info.ch_map);
debugf0("QPI %d control=0x%08x status=0x%08x dod=0x%08x map=0x%08x\n",
- socket, pvt->info.mc_control, pvt->info.mc_status,
+
pvt->i7core_dev->
socket, pvt->info.mc_control, pvt->info.mc_status,
pvt->info.max_dod, pvt->info.ch_map);
if (ECC_ENABLED(pvt)) {