From: Luis R. Rodriguez Date: Mon, 9 Jul 2012 22:23:58 +0000 (-0700) Subject: compat-wireless: fix patches/55-iwlwifi-msg-trace-fix.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3eeed16241e00747ff003e90d5a031353d1073b0;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: fix patches/55-iwlwifi-msg-trace-fix.patch The dev_err() was moved to deb_dbg() in this patch upstream: commit 346c265a48169d73a69c88ce9d6b65e6bb3b1f20 Author: Johannes Berg Date: Thu Jun 28 18:45:38 2012 +0200 iwlwifi: fix debug message level Debug messages should be printed using dev_dbg() not dev_err() which requires DEBUG to be defined. Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/55-iwlwifi-msg-trace-fix.patch b/patches/55-iwlwifi-msg-trace-fix.patch index 151454c24dac..6df78c8b08e7 100644 --- a/patches/55-iwlwifi-msg-trace-fix.patch +++ b/patches/55-iwlwifi-msg-trace-fix.patch @@ -59,7 +59,7 @@ the message is printed and traced. + + va_copy(args2, args); + vaf.va = &args2; - dev_err(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U', + dev_dbg(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U', function, &vaf); + va_end(args2); + }