X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/88e0ef4de7f2d2da6d0edc8f6eb80d0e16f81094..77d61d596bb40446bf9669169d2e8aff08981e4a:/package/mac80211/patches/018-revert_printk_va_format.patch diff --git a/package/mac80211/patches/018-revert_printk_va_format.patch b/package/mac80211/patches/018-revert_printk_va_format.patch index 5ac97be0a..2cbc0f95e 100644 --- a/package/mac80211/patches/018-revert_printk_va_format.patch +++ b/package/mac80211/patches/018-revert_printk_va_format.patch @@ -186,24 +186,3 @@ 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); -