Hi Martin,
How about replacing __FUNCTION__ with __func__ ?
GCC 3.x warns that __FUNCTION__ is obsolete and will be removed.
Here is how I did it in Bluetooth code:
#define BT_DBG(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" ,
__func__ , ## arg)
no more warnings from gcc.
Max
>Fix improper usage of __FUNCTION__ in usb code.
>Fix unpleasant results from some code formatting
>editor (propably emacs) in i2c, which broke
>an error message altogether.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:18 EST