From: Felix Fietkau Date: Sat, 11 Dec 2010 10:37:42 +0000 (+0000) Subject: ath9k: add missing %pV printk revert X-Git-Tag: reboot~18111 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=d1c110e228841087eafcfe092747887213486bb1 ath9k: add missing %pV printk revert SVN-Revision: 24480 --- diff --git a/package/mac80211/patches/018-revert_printk_va_format.patch b/package/mac80211/patches/018-revert_printk_va_format.patch index 2cbc0f95e9..5ac97be0a1 100644 --- a/package/mac80211/patches/018-revert_printk_va_format.patch +++ b/package/mac80211/patches/018-revert_printk_va_format.patch @@ -186,3 +186,24 @@ va_end(args); } #endif /* DEBUG */ +--- a/drivers/net/wireless/ath/main.c ++++ b/drivers/net/wireless/ath/main.c +@@ -60,16 +60,13 @@ EXPORT_SYMBOL(ath_rxbuf_alloc); + int ath_printk(const char *level, struct ath_common *common, + const char *fmt, ...) + { +- struct va_format vaf; + va_list args; + int rtn; + + va_start(args, fmt); + +- vaf.fmt = fmt; +- vaf.va = &args; +- +- rtn = printk("%sath: %pV", level, &vaf); ++ printk("%sath: ", level); ++ rtn = vprintk(fmt, args); + + va_end(args); +