backport: update drivers_net_wireless_iwlwifi_iwl-debug.patch
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 13 May 2014 13:19:12 +0000 (16:19 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Jun 2014 18:23:37 +0000 (20:23 +0200)
The driver was updated - need to update the patch accordingly

commit 7f715626a9ddfa7df13f076f59fc62e3c99066cf
Author: Liad Kaufman <liad.kaufman@intel.com>
Date:   Thu May 8 15:24:54 2014 +0300

    iwlwifi: use dev_printk instead of dev_dbg for debug logs

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0018-pv-trace-fixes/drivers_net_wireless_iwlwifi_iwl-debug.patch

index 3e454e21939ff8420db65c015d5a32d3bdb9c58b..2c6c6600ad354f9ef7276ce0d81ff5bd94a2a33d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/iwlwifi/iwl-debug.c
 +++ b/drivers/net/wireless/iwlwifi/iwl-debug.c
-@@ -76,13 +76,16 @@ void __iwl_ ##fn(struct device *dev, con
+@@ -74,13 +74,16 @@ void __iwl_ ##fn(struct device *dev, con
        struct va_format vaf = {                                \
                .fmt = fmt,                                     \
        };                                                      \
@@ -21,7 +21,7 @@
  }
  
  __iwl_fn(warn)
-@@ -101,13 +104,18 @@ void __iwl_err(struct device *dev, bool
+@@ -99,13 +102,18 @@ void __iwl_err(struct device *dev, bool
        va_list args;
  
        va_start(args, fmt);
@@ -41,7 +41,7 @@
        trace_iwlwifi_err(&vaf);
        va_end(args);
  }
-@@ -124,13 +132,19 @@ void __iwl_dbg(struct device *dev,
+@@ -122,13 +130,19 @@ void __iwl_dbg(struct device *dev,
        va_list args;
  
        va_start(args, fmt);
@@ -54,8 +54,8 @@
 +
 +              va_copy(args2, args);
 +              vaf.va = &args2;
-               dev_dbg(dev, "%c %s %pV", in_interrupt() ? 'I' : 'U',
-                       function, &vaf);
+               dev_printk(KERN_DEBUG, dev, "%c %s %pV",
+                          in_interrupt() ? 'I' : 'U', function, &vaf);
 +              va_end(args2);
 +      }
  #endif