Skip to contentSkip to conversation

Staging:ft1000_debug.c:Renaming __FUNCTION__

PATCH New paulmcquad 1 participant 1 message Apr 3, 2014 Staging

lore
Share & tools
lore

paulmcquad

author
#0 lore raw

PATCH 1/1 Staging:ft1000_debug.c:Renaming __FUNCTION__

Quoted 1 line

From f548b09a0fc387b94fee3372c0f7c4de1f281f80 Mon Sep 17 00:00:00 2001

From: Paul McQuade <[email protected]>
Date: Thu, 3 Apr 2014 17:12:20 +0100
Subject: [PATCH] Staging:ft1000_debug.c:Renaming __FUNCTION__

__Function__ gets renamed with __func__

---
 drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c +1 -1
index ffdc7f5..dc7647f 100644
@@ -785,7 +785,7 @@ static int ft1000_release(struct inode *inode, struct file *file)
 
     /* initialize application information */
     ft1000dev->appcnt--;
-    DEBUG("ft1000_chdev:%s:appcnt = %d\n", __FUNCTION__, ft1000dev->appcnt);
+    DEBUG("ft1000_chdev:%s:appcnt = %d\n", __func__, ft1000dev->appcnt);
     ft1000dev->app_info[i].fileobject = NULL;
 
     return 0;
Signature · 1 line
1.8.3.2