__FUNCTION__ string concatenation deprecated
PATCH 1/3 __FUNCTION__ string concatenation deprecated
Description: __FUNCTION__ string concatenation is deprecated
Diff against linux-2.6 up to [email protected] (04/09/18 20:30:01)
Status: untested
Signed-off-by Clemens Buchacher <[email protected]>
# arch/mips/au1000/db1x00/mirage_ts.c # 2004/09/20 14:52:26+02:00 [email protected] +1 -1 # __FUNCTION__ string concatenation is deprecated Signed-off-by: Maximilian Attems <[email protected]> ---
linux-2.6.9-rc2-bk7-max/arch/mips/au1000/db1x00/mirage_ts.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/mips/au1000/db1x00/mirage_ts.c renamed from arch/mips/au1000/db1x00/mirage_ts.c~function-string-arch_mips_au1000_db1x00_mirage_ts +1 -1
@@ -68,7 +68,7 @@ int wm97xx_comodule_present = 1; #define err(format, arg...) printk(KERN_ERR TS_NAME ": " format "\n" , ## arg) #define info(format, arg...) printk(KERN_INFO TS_NAME ": " format "\n" , ## arg) #define warn(format, arg...) printk(KERN_WARNING TS_NAME ": " format "\n" , ## arg) -#define DPRINTK(format, arg...) printk(__FUNCTION__ ": " format "\n" , ## arg) +#define DPRINTK(format, arg...) printk("%s: " format "\n", __FUNCTION__ , ## arg)#define PEN_DOWN_IRQ AU1000_GPIO_7
_