diff options
Diffstat (limited to 'drivers/edac/i5400_edac.c')
-rw-r--r-- | drivers/edac/i5400_edac.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c index f99d10655ed4..010c1d6526f5 100644 --- a/drivers/edac/i5400_edac.c +++ b/drivers/edac/i5400_edac.c | |||
@@ -694,7 +694,7 @@ static void i5400_clear_error(struct mem_ctl_info *mci) | |||
694 | static void i5400_check_error(struct mem_ctl_info *mci) | 694 | static void i5400_check_error(struct mem_ctl_info *mci) |
695 | { | 695 | { |
696 | struct i5400_error_info info; | 696 | struct i5400_error_info info; |
697 | debugf4("MC%d: " __FILE__ ": %s()\n", mci->mc_idx, __func__); | 697 | debugf4("MC%d: %s: %s()\n", mci->mc_idx, __FILE__, __func__); |
698 | i5400_get_error_info(mci, &info); | 698 | i5400_get_error_info(mci, &info); |
699 | i5400_process_error_info(mci, &info); | 699 | i5400_process_error_info(mci, &info); |
700 | } | 700 | } |
@@ -1227,8 +1227,8 @@ static int i5400_probe1(struct pci_dev *pdev, int dev_idx) | |||
1227 | if (dev_idx >= ARRAY_SIZE(i5400_devs)) | 1227 | if (dev_idx >= ARRAY_SIZE(i5400_devs)) |
1228 | return -EINVAL; | 1228 | return -EINVAL; |
1229 | 1229 | ||
1230 | debugf0("MC: " __FILE__ ": %s(), pdev bus %u dev=0x%x fn=0x%x\n", | 1230 | debugf0("MC: %s: %s(), pdev bus %u dev=0x%x fn=0x%x\n", |
1231 | __func__, | 1231 | __FILE__, __func__, |
1232 | pdev->bus->number, | 1232 | pdev->bus->number, |
1233 | PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); | 1233 | PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); |
1234 | 1234 | ||
@@ -1256,7 +1256,7 @@ static int i5400_probe1(struct pci_dev *pdev, int dev_idx) | |||
1256 | if (mci == NULL) | 1256 | if (mci == NULL) |
1257 | return -ENOMEM; | 1257 | return -ENOMEM; |
1258 | 1258 | ||
1259 | debugf0("MC: " __FILE__ ": %s(): mci = %p\n", __func__, mci); | 1259 | debugf0("MC: %s: %s(): mci = %p\n", __FILE__, __func__, mci); |
1260 | 1260 | ||
1261 | mci->dev = &pdev->dev; /* record ptr to the generic device */ | 1261 | mci->dev = &pdev->dev; /* record ptr to the generic device */ |
1262 | 1262 | ||
@@ -1299,8 +1299,8 @@ static int i5400_probe1(struct pci_dev *pdev, int dev_idx) | |||
1299 | 1299 | ||
1300 | /* add this new MC control structure to EDAC's list of MCs */ | 1300 | /* add this new MC control structure to EDAC's list of MCs */ |
1301 | if (edac_mc_add_mc(mci)) { | 1301 | if (edac_mc_add_mc(mci)) { |
1302 | debugf0("MC: " __FILE__ | 1302 | debugf0("MC: %s: %s(): failed edac_mc_add_mc()\n", |
1303 | ": %s(): failed edac_mc_add_mc()\n", __func__); | 1303 | __FILE__, __func__); |
1304 | /* FIXME: perhaps some code should go here that disables error | 1304 | /* FIXME: perhaps some code should go here that disables error |
1305 | * reporting if we just enabled it | 1305 | * reporting if we just enabled it |
1306 | */ | 1306 | */ |
@@ -1344,7 +1344,7 @@ static int __devinit i5400_init_one(struct pci_dev *pdev, | |||
1344 | { | 1344 | { |
1345 | int rc; | 1345 | int rc; |
1346 | 1346 | ||
1347 | debugf0("MC: " __FILE__ ": %s()\n", __func__); | 1347 | debugf0("MC: %s: %s()\n", __FILE__, __func__); |
1348 | 1348 | ||
1349 | /* wake up device */ | 1349 | /* wake up device */ |
1350 | rc = pci_enable_device(pdev); | 1350 | rc = pci_enable_device(pdev); |
@@ -1363,7 +1363,7 @@ static void __devexit i5400_remove_one(struct pci_dev *pdev) | |||
1363 | { | 1363 | { |
1364 | struct mem_ctl_info *mci; | 1364 | struct mem_ctl_info *mci; |
1365 | 1365 | ||
1366 | debugf0(__FILE__ ": %s()\n", __func__); | 1366 | debugf0("%s: %s()\n", __FILE__, __func__); |
1367 | 1367 | ||
1368 | if (i5400_pci) | 1368 | if (i5400_pci) |
1369 | edac_pci_release_generic_ctl(i5400_pci); | 1369 | edac_pci_release_generic_ctl(i5400_pci); |
@@ -1409,7 +1409,7 @@ static int __init i5400_init(void) | |||
1409 | { | 1409 | { |
1410 | int pci_rc; | 1410 | int pci_rc; |
1411 | 1411 | ||
1412 | debugf2("MC: " __FILE__ ": %s()\n", __func__); | 1412 | debugf2("MC: %s: %s()\n", __FILE__, __func__); |
1413 | 1413 | ||
1414 | /* Ensure that the OPSTATE is set correctly for POLL or NMI */ | 1414 | /* Ensure that the OPSTATE is set correctly for POLL or NMI */ |
1415 | opstate_init(); | 1415 | opstate_init(); |
@@ -1425,7 +1425,7 @@ static int __init i5400_init(void) | |||
1425 | */ | 1425 | */ |
1426 | static void __exit i5400_exit(void) | 1426 | static void __exit i5400_exit(void) |
1427 | { | 1427 | { |
1428 | debugf2("MC: " __FILE__ ": %s()\n", __func__); | 1428 | debugf2("MC: %s: %s()\n", __FILE__, __func__); |
1429 | pci_unregister_driver(&i5400_driver); | 1429 | pci_unregister_driver(&i5400_driver); |
1430 | } | 1430 | } |
1431 | 1431 | ||