Changeset 24480


Ignore:
Timestamp:
2010-12-11T11:37:42+01:00 (6 years ago)
Author:
nbd
Message:

ath9k: add missing %pV printk revert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/018-revert_printk_va_format.patch

    r24471 r24480  
    187187 } 
    188188 #endif /* DEBUG */ 
     189--- a/drivers/net/wireless/ath/main.c 
     190+++ b/drivers/net/wireless/ath/main.c 
     191@@ -60,16 +60,13 @@ EXPORT_SYMBOL(ath_rxbuf_alloc); 
     192 int ath_printk(const char *level, struct ath_common *common, 
     193               const char *fmt, ...) 
     194 { 
     195-       struct va_format vaf; 
     196        va_list args; 
     197        int rtn; 
     198  
     199        va_start(args, fmt); 
     200  
     201-       vaf.fmt = fmt; 
     202-       vaf.va = &args; 
     203- 
     204-       rtn = printk("%sath: %pV", level, &vaf); 
     205+       printk("%sath: ", level); 
     206+       rtn = vprintk(fmt, args); 
     207  
     208        va_end(args); 
     209  
Note: See TracChangeset for help on using the changeset viewer.