You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
video: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Antonino A. Daplas <adaplas@gmail.com> Cc: Antonino Daplas <adaplas@pol.net> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Jean Delvare <khali@linux-fr.org> Cc: Adrian Bunk <bunk@stusta.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e7a05aa9e6
commit
5ae121705b
@@ -43,14 +43,14 @@
|
||||
#define NVTRACE if (0) printk
|
||||
#endif
|
||||
|
||||
#define NVTRACE_ENTER(...) NVTRACE("%s START\n", __FUNCTION__)
|
||||
#define NVTRACE_LEAVE(...) NVTRACE("%s END\n", __FUNCTION__)
|
||||
#define NVTRACE_ENTER(...) NVTRACE("%s START\n", __func__)
|
||||
#define NVTRACE_LEAVE(...) NVTRACE("%s END\n", __func__)
|
||||
|
||||
#ifdef CONFIG_FB_NVIDIA_DEBUG
|
||||
#define assert(expr) \
|
||||
if (!(expr)) { \
|
||||
printk( "Assertion failed! %s,%s,%s,line=%d\n",\
|
||||
#expr,__FILE__,__FUNCTION__,__LINE__); \
|
||||
#expr,__FILE__,__func__,__LINE__); \
|
||||
BUG(); \
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user