aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-03 22:09:46 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 00:47:09 -0400
commit66bef8c059015ba2b36bb5759080336feb01e680 (patch)
tree9060b134ba07e052bf40e0fbe641dfaa86bcbd9d /drivers/pci/pcie/aer
parentca99eb8c2d56bdfff0161388b81e641f4e039b3f (diff)
PCI: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pcie/aer')
-rw-r--r--drivers/pci/pcie/aer/aerdrv.c4
-rw-r--r--drivers/pci/pcie/aer/aerdrv_core.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c
index 7a62f7dd9009..07c3bdb6edc2 100644
--- a/drivers/pci/pcie/aer/aerdrv.c
+++ b/drivers/pci/pcie/aer/aerdrv.c
@@ -220,7 +220,7 @@ static int __devinit aer_probe (struct pcie_device *dev,
220 /* Alloc rpc data structure */ 220 /* Alloc rpc data structure */
221 if (!(rpc = aer_alloc_rpc(dev))) { 221 if (!(rpc = aer_alloc_rpc(dev))) {
222 printk(KERN_DEBUG "%s: Alloc rpc fails on PCIE device[%s]\n", 222 printk(KERN_DEBUG "%s: Alloc rpc fails on PCIE device[%s]\n",
223 __FUNCTION__, device->bus_id); 223 __func__, device->bus_id);
224 aer_remove(dev); 224 aer_remove(dev);
225 return -ENOMEM; 225 return -ENOMEM;
226 } 226 }
@@ -229,7 +229,7 @@ static int __devinit aer_probe (struct pcie_device *dev,
229 if ((status = request_irq(dev->irq, aer_irq, IRQF_SHARED, "aerdrv", 229 if ((status = request_irq(dev->irq, aer_irq, IRQF_SHARED, "aerdrv",
230 dev))) { 230 dev))) {
231 printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n", 231 printk(KERN_DEBUG "%s: Request ISR fails on PCIE device[%s]\n",
232 __FUNCTION__, device->bus_id); 232 __func__, device->bus_id);
233 aer_remove(dev); 233 aer_remove(dev);
234 return status; 234 return status;
235 } 235 }
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index e84dfc8be0e9..aaa82392d1dc 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -691,7 +691,7 @@ static void aer_isr_one_error(struct pcie_device *p_device,
691 e_info.flags |= AER_MULTI_ERROR_VALID_FLAG; 691 e_info.flags |= AER_MULTI_ERROR_VALID_FLAG;
692 if (!(s_device = find_source_device(p_device->port, id))) { 692 if (!(s_device = find_source_device(p_device->port, id))) {
693 printk(KERN_DEBUG "%s->can't find device of ID%04x\n", 693 printk(KERN_DEBUG "%s->can't find device of ID%04x\n",
694 __FUNCTION__, id); 694 __func__, id);
695 continue; 695 continue;
696 } 696 }
697 if (get_device_error_info(to_pci_dev(s_device), &e_info) == 697 if (get_device_error_info(to_pci_dev(s_device), &e_info) ==