Re: Linux 2.4.20-pre2-ac3

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Thu Aug 15 2002 - 16:50:33 EST


On Thu, 15 Aug 2002, Alan Cox wrote:

> > > Linux 2.4.20-pre2-ac2
> > >...
> > > o Tweak isdn to try and fix gcc 2.95 compile (Kai Germaschewski)
> > >...
> >
> > Compilation of 2.4.20-pre2-ac3 fails:
>
> Ok fixed the ifdef way to handle the old cpp problems then

Well, so I had to dowload and compile gcc 2.95 and reproduce the
problem... The following patch fixes it:

diff -ur linux-2.4.20-pre2/drivers/isdn/hisax/hisax_debug.h linux-2.4.20-pre2.x/drivers/isdn/hisax/hisax_debug.h
--- linux-2.4.20-pre2/drivers/isdn/hisax/hisax_debug.h Thu Aug 15 16:48:25 2002
+++ linux-2.4.20-pre2.x/drivers/isdn/hisax/hisax_debug.h Thu Aug 15
16:48:04 2002
@@ -28,7 +28,7 @@
 
 #define DBG(level, format, arg...) do { \
 if (level & __debug_variable) \
-printk(KERN_DEBUG "%s: " format "\n" , __FUNCTION__, ## arg); \
+printk(KERN_DEBUG "%s: " format "\n" , __FUNCTION__ , ## arg); \
 } while (0)
 
 #define DBG_PACKET(level,data,count) \

-
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 : Thu Aug 15 2002 - 22:00:40 EST