All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.22-ac1 fix drivers/isdn/hisax/st5481.h
@ 2003-08-30  5:17 Gerardo Exequiel Pozzi
  0 siblings, 0 replies; only message in thread
From: Gerardo Exequiel Pozzi @ 2003-08-30  5:17 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

Hi Alan,

This patch removes old printk´s and the #if from these that not is necessary,
and it leaves the correct ones (that is in your patch).

This way it is as if one patched the 2.4.22 with the patch that I sent days ago
to the LKML and as it is in the 2.6.

With this, kernel compiles of clean way without deprecated warnings. (all!)

Please apply it.

PS: Good Luck in its studies!

chau,
 djgera


--- linux-2.4.22-ac1/drivers/isdn/hisax/st5481.h	2003-08-29 21:24:28.000000000 -0300
+++ linux-2.4.22-ac1-fix/drivers/isdn/hisax/st5481.h	2003-08-30 01:24:27.000000000 -0300
@@ -218,19 +218,6 @@
 
 #define L1_EVENT_COUNT (EV_TIMER3 + 1)
 
-#if (__GNUC__ > 2)
-
-#define ERR(format, arg...) \
-printk(KERN_ERR __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#define WARN(format, arg...) \
-printk(KERN_WARNING __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#define INFO(format, arg...) \
-printk(KERN_INFO __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#else
-
 #define ERR(format, arg...) \
 printk(KERN_ERR __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg)
 
@@ -240,8 +227,6 @@
 #define INFO(format, arg...) \
 printk(KERN_INFO __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg)
 
-#endif
-
 #include "isdnhdlc.h"
 #include "fsm.h"
 #include "hisax_if.h"


-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-30  5:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-30  5:17 [PATCH] 2.4.22-ac1 fix drivers/isdn/hisax/st5481.h Gerardo Exequiel Pozzi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.