aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-17 01:46:21 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:47:04 -0400
commit2a2cf6b18626e66b7898013dfa4df8fe2feca568 (patch)
treed8de82bd941bab2b448c3283fe278cbfe51b2ea7 /drivers/s390/char
parent1e42f32785dc252191bc8a4825e1fee77519d947 (diff)
[S390] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/tape_34xx.c2
-rw-r--r--drivers/s390/char/vmwatchdog.c4
-rw-r--r--drivers/s390/char/zcore.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/char/tape_34xx.c b/drivers/s390/char/tape_34xx.c
index 5b47e9cce75f..874adf365e46 100644
--- a/drivers/s390/char/tape_34xx.c
+++ b/drivers/s390/char/tape_34xx.c
@@ -394,7 +394,7 @@ tape_34xx_unit_check(struct tape_device *device, struct tape_request *request,
394 return tape_34xx_erp_failed(request, -ENOSPC); 394 return tape_34xx_erp_failed(request, -ENOSPC);
395 default: 395 default:
396 PRINT_ERR("Invalid op in %s:%i\n", 396 PRINT_ERR("Invalid op in %s:%i\n",
397 __FUNCTION__, __LINE__); 397 __func__, __LINE__);
398 return tape_34xx_erp_failed(request, 0); 398 return tape_34xx_erp_failed(request, 0);
399 } 399 }
400 } 400 }
diff --git a/drivers/s390/char/vmwatchdog.c b/drivers/s390/char/vmwatchdog.c
index 6f40facb1c4d..19f8389291b6 100644
--- a/drivers/s390/char/vmwatchdog.c
+++ b/drivers/s390/char/vmwatchdog.c
@@ -96,7 +96,7 @@ static int vmwdt_keepalive(void)
96 96
97 if (ret) { 97 if (ret) {
98 printk(KERN_WARNING "%s: problem setting interval %d, " 98 printk(KERN_WARNING "%s: problem setting interval %d, "
99 "cmd %s\n", __FUNCTION__, vmwdt_interval, 99 "cmd %s\n", __func__, vmwdt_interval,
100 vmwdt_cmd); 100 vmwdt_cmd);
101 } 101 }
102 return ret; 102 return ret;
@@ -107,7 +107,7 @@ static int vmwdt_disable(void)
107 int ret = __diag288(wdt_cancel, 0, "", 0); 107 int ret = __diag288(wdt_cancel, 0, "", 0);
108 if (ret) { 108 if (ret) {
109 printk(KERN_WARNING "%s: problem disabling watchdog\n", 109 printk(KERN_WARNING "%s: problem disabling watchdog\n",
110 __FUNCTION__); 110 __func__);
111 } 111 }
112 return ret; 112 return ret;
113} 113}
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c
index f523501e6e6c..bbbd14e9d48f 100644
--- a/drivers/s390/char/zcore.c
+++ b/drivers/s390/char/zcore.c
@@ -224,7 +224,7 @@ static int __init init_cpu_info(enum arch_id arch)
224 224
225 sa = kmalloc(sizeof(*sa), GFP_KERNEL); 225 sa = kmalloc(sizeof(*sa), GFP_KERNEL);
226 if (!sa) { 226 if (!sa) {
227 ERROR_MSG("kmalloc failed: %s: %i\n",__FUNCTION__, __LINE__); 227 ERROR_MSG("kmalloc failed: %s: %i\n",__func__, __LINE__);
228 return -ENOMEM; 228 return -ENOMEM;
229 } 229 }
230 if (memcpy_hsa_kernel(sa, sys_info.sa_base, sys_info.sa_size) < 0) { 230 if (memcpy_hsa_kernel(sa, sys_info.sa_base, sys_info.sa_size) < 0) {