Messages in this thread Patch in this message | | | Date | Fri, 22 Aug 2003 03:58:39 -0300 | From | Gerardo Exequiel Pozzi <> | Subject | [PATCH][resend] 3/13 2.4.22-rc2 fix __FUNCTION__ warnings drivers/isdn/hisax |
| |
Hi people, this patch fix the warning: concatenation of string literals with __FUNCTION__ is deprecated
st5481.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.4.22-rc2/drivers/isdn/hisax/st5481.h 2003-06-13 11:51:34.000000000 -0300 +++ linux-2.4.22-rc2-fix/drivers/isdn/hisax/st5481.h 2003-08-21 00:08:28.000000000 -0300 @@ -219,13 +219,13 @@ #define L1_EVENT_COUNT (EV_TIMER3 + 1) #define ERR(format, arg...) \ -printk(KERN_ERR __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg) +printk(KERN_ERR __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg) #define WARN(format, arg...) \ -printk(KERN_WARNING __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg) +printk(KERN_WARNING __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg) #define INFO(format, arg...) \ -printk(KERN_INFO __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg) +printk(KERN_INFO __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg) #include "isdnhdlc.h" #include "fsm.h" ciao, djgera
-- Gerardo Exequiel Pozzi ( djgera ) http://www.vmlinuz.com.ar http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D - 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/
| |