/* bug in tracepoint.h, it should include this */ #include /* sparse isn't too happy with all macros... */ #ifndef __CHECKER__ #include #include "driver-ops.h" #include "debug.h" #define CREATE_TRACE_POINTS #include "trace.h" #include "trace_msg.h" #ifdef CONFIG_MAC80211_MESSAGE_TRACING void __sdata_info(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_info("%pV", &vaf); trace_mac80211_info(&vaf); va_end(args); } void __sdata_dbg(bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) pr_debug("%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); } void __sdata_err(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_err("%pV", &vaf); trace_mac80211_err(&vaf); va_end(args); } void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) wiphy_dbg(wiphy, "%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); } #endif #endif t-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-07 16:29:30 -0500
commit3efa70d78f218e4c9276b0bac0545e5184c1c47b (patch)
treef4abe2f05e173023d2a262afd4aebb1e89fe6985 /net/ax25
parent76e0e70e6452b971a69cc9794ff4a6715c11f7f2 (diff)
parent926af6273fc683cd98cd0ce7bf0d04a02eed6742 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The conflict was an interaction between a bug fix in the netvsc driver in 'net' and an optimization of the RX path in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')