From 3eeed16241e00747ff003e90d5a031353d1073b0 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 9 Jul 2012 15:23:58 -0700 Subject: [PATCH] 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 --- patches/55-iwlwifi-msg-trace-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); + } -- 2.30.2