Messages in this thread | | | Subject | Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack | From | Joe Perches <> | Date | Wed, 04 Feb 2015 11:06:27 -0800 |
| |
On Wed, 2015-02-04 at 10:48 +0100, Rasmus Villemoes wrote: > __FUNCTION__ hasn't been treated as a string literal since gcc 3.4, so > this only helps people who only test-compile using 3.3 > (compiler-gcc3.h barks at anything older than that). Besides, there > are almost no occurrences of __FUNCTION__ left in the tree.
The remaining uses of __FUNCTION__ need converting first.
arch/x86/kernel/hpet.c: _hpet_print_config(__FUNCTION__, __LINE__); arch/x86/kernel/rtc.c: __FUNCTION__, retval); arch/x86/kernel/rtc.c: __FUNCTION__, nowtime);
https://lkml.org/lkml/2014/3/25/406
| |