diff options
-rw-r--r-- | drivers/edac/i5000_edac.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/edac/i5000_edac.c b/drivers/edac/i5000_edac.c index af6faeeaa4f6..aa05c45efc08 100644 --- a/drivers/edac/i5000_edac.c +++ b/drivers/edac/i5000_edac.c | |||
@@ -967,7 +967,7 @@ static void calculate_dimm_size(struct i5000_pvt *pvt) | |||
967 | mem_buffer = p = kmalloc(space, GFP_KERNEL); | 967 | mem_buffer = p = kmalloc(space, GFP_KERNEL); |
968 | if (p == NULL) { | 968 | if (p == NULL) { |
969 | i5000_printk(KERN_ERR, "MC: %s:%s() kmalloc() failed\n", | 969 | i5000_printk(KERN_ERR, "MC: %s:%s() kmalloc() failed\n", |
970 | __FILE__, __func__); | 970 | __FILE__, __func__); |
971 | return; | 971 | return; |
972 | } | 972 | } |
973 | 973 | ||
@@ -1287,13 +1287,13 @@ static int i5000_probe1(struct pci_dev *pdev, int dev_idx) | |||
1287 | return -ENODEV; | 1287 | return -ENODEV; |
1288 | 1288 | ||
1289 | /* make sure error reporting method is sane */ | 1289 | /* make sure error reporting method is sane */ |
1290 | switch(edac_op_state) { | 1290 | switch (edac_op_state) { |
1291 | case EDAC_OPSTATE_POLL: | 1291 | case EDAC_OPSTATE_POLL: |
1292 | case EDAC_OPSTATE_NMI: | 1292 | case EDAC_OPSTATE_NMI: |
1293 | break; | 1293 | break; |
1294 | default: | 1294 | default: |
1295 | edac_op_state = EDAC_OPSTATE_POLL; | 1295 | edac_op_state = EDAC_OPSTATE_POLL; |
1296 | break; | 1296 | break; |
1297 | } | 1297 | } |
1298 | 1298 | ||
1299 | /* Ask the devices for the number of CSROWS and CHANNELS so | 1299 | /* Ask the devices for the number of CSROWS and CHANNELS so |