lkml.org 
[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] ma600.c won't compile
Hi,

At least gcc 3.3 complains about this (silly ?) thing in the ASSERT
macro of drivers/net/irda/ma600.c (func is generally 'return -1;')

Regards,
Samuel Thibault

--- linux-2.5.71-orig/drivers/net/irda/ma600.c 2003-05-26 21:00:39.000000000 -0400
+++ linux-2.5.71-perso/drivers/net/irda/ma600.c 2003-06-14 17:30:28.000000000 -0400
@@ -52,7 +52,7 @@
if(!(expr)) { \
printk( "Assertion failed! %s,%s,%s,line=%d\n",\
#expr,__FILE__,__FUNCTION__,__LINE__); \
- ##func}
+ func}
#endif

/* convert hex value to ascii hex */
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.029 / U:2.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site