On Tue, Jul 3, 2012 at 8:47 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxx> wrote: > On Tue, Jul 3, 2012 at 6:28 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> From: Johannes Berg <johannes.berg@xxxxxxxxx> >> >> As compat includes linux/device.h well before iwlwifi, the >> definitions from there are used without DEBUG, but iwlwifi >> defines DEBUG to get debug output. Use dev_printk instead >> of dev_dbg to get debugging back. >> >> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> > > Applied and pushed, thanks! On today's linux-next.git the dev_dbg() changed to dev_err(), I've updated the patch to reflect this. mcgrof@tux ~/devel/compat-wireless (git::master)$ git diff diff --git a/patches/57-iwlwifi-debug-fix.patch b/patches/57-iwlwifi-debug-fix.patch index 4b2dfa9..1bfc88f 100644 --- a/patches/57-iwlwifi-debug-fix.patch +++ b/patches/57-iwlwifi-debug-fix.patch @@ -9,7 +9,7 @@ dev_printk to make them show up again. va_copy(args2, args); vaf.va = &args2; -- dev_dbg(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U', +- dev_err(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U', - function, &vaf); + dev_printk(KERN_DEBUG, dev, "%c %s %pV", + in_interrupt() ? 'I' : 'U' Luis -- 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