aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/sb_edac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index 24d8c7fea0bc..7ff9003a6297 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -311,7 +311,7 @@ struct sbridge_channel {
311}; 311};
312 312
313struct pci_id_descr { 313struct pci_id_descr {
314 int dev_id; 314 int dev_id;
315 int optional; 315 int optional;
316}; 316};
317 317
@@ -946,7 +946,7 @@ static int get_memory_error_data(struct mem_ctl_info *mci,
946 struct mem_ctl_info *new_mci; 946 struct mem_ctl_info *new_mci;
947 struct sbridge_pvt *pvt = mci->pvt_info; 947 struct sbridge_pvt *pvt = mci->pvt_info;
948 struct pci_dev *pci_ha; 948 struct pci_dev *pci_ha;
949 int n_rir, n_sads, n_tads, sad_way, sck_xch; 949 int n_rir, n_sads, n_tads, sad_way, sck_xch;
950 int sad_interl, idx, base_ch; 950 int sad_interl, idx, base_ch;
951 int interleave_mode; 951 int interleave_mode;
952 unsigned sad_interleave[pvt->info.max_interleave]; 952 unsigned sad_interleave[pvt->info.max_interleave];
@@ -1348,7 +1348,7 @@ static int sbridge_get_onedevice(struct pci_dev **prev,
1348 * sbridge_get_all_devices - Find and perform 'get' operation on the MCH's 1348 * sbridge_get_all_devices - Find and perform 'get' operation on the MCH's
1349 * devices we want to reference for this driver. 1349 * devices we want to reference for this driver.
1350 * @num_mc: pointer to the memory controllers count, to be incremented in case 1350 * @num_mc: pointer to the memory controllers count, to be incremented in case
1351 * of success. 1351 * of success.
1352 * @table: model specific table 1352 * @table: model specific table
1353 * 1353 *
1354 * returns 0 in case of success or error code 1354 * returns 0 in case of success or error code