Re: [PATCH 2/7] CAN: Add PF_CAN core module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Thursday, September 20, 2007 - 1:27 pm

On Thu, 2007-09-20 at 13:06 -0700, Joe Perches wrote:


That's even worse. If we want to have something better than the DBG
macros, then please convert the whole stuff into inline functions.

#ifdef DEBUG
static inline void debug_skb(struct sk_buff *skb)
{
	if (debug & 4)
		...
}
#else
static inline debug_skb(struct sk_buff *skb) {}
#endif

Thanks,

	tglx


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Thu Sep 20, 11:43 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Joe Perches, (Thu Sep 20, 1:06 pm)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Thomas Gleixner, (Thu Sep 20, 1:27 pm)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Fri Sep 21, 3:35 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Patrick McHardy, (Fri Sep 21, 5:47 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Joe Perches, (Fri Sep 21, 9:58 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Fri Sep 21, 11:01 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Patrick McHardy, (Sat Sep 22, 3:53 am)
Re: [PATCH 2/7] CAN: Add PF_CAN core module, Urs Thuermann, (Mon Sep 24, 12:23 pm)