compat-wireless: fix patches/55-iwlwifi-msg-trace-fix.patch
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 9 Jul 2012 22:23:58 +0000 (15:23 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 9 Jul 2012 22:23:58 +0000 (15:23 -0700)
The dev_err() was moved to deb_dbg() in this patch upstream:

commit 346c265a48169d73a69c88ce9d6b65e6bb3b1f20
Author: Johannes Berg <johannes.berg@intel.com>
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 <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/55-iwlwifi-msg-trace-fix.patch

index 151454c24dace087741ba7bdf7f63b94ffa064e2..6df78c8b08e78374124388d688759f4b191d73a0 100644 (file)
@@ -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);
 +      }