On Wed, Aug 10, 2011 at 6:38 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2011-08-09 at 16:45 -0700, Thomas Pedersen wrote: > >> +#ifdef CONFIG_MAC80211_VERBOSE_MPATH_DEBUG >> +#define mpath_dbg(fmt, args...) printk(KERN_DEBUG fmt, ##args) >> +#else >> +#define mpath_dbg(fmt, args...) do { (void)(0); } while (0) >> +#endif > > Maybe this should be a static inline for checking the fmt args even when > it's compiled out? > I don't really see the point, since all this would give us is the compiler checking whether a const char * was passed as an argument to fmt, right? > johannes > > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html