/* 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 ='packet-loop-back'>packet-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
alue='35'>35
AgeCommit message (Collapse)AuthorFilesLines
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2016-12-22 15:00:12 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-02 21:54:52 +0800
commit3484ecbe0e9deb94afb0b9b6172d77e98eb72b94 (patch)
tree4d4be0d20d4946c51ef47a882d78c9934a219c0e /net/9p/trans_virtio.c
parent11e3b725cfc282efe9d4a354153e99d86a16af08 (diff)
crypto: qat - fix bar discovery for c62x
Some accelerators of the c62x series have only two bars. This patch skips BAR0 if the accelerator does not have it. Cc: <stable@vger.kernel.org> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/9p/trans_virtio.c')