summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wil6210/debug.c
diff options
context:
space:
mode:
authorMaya Erez <qca_merez@qca.qualcomm.com>2016-05-31 22:51:46 +0300
committerKyle Yan <kyan@codeaurora.org>2016-06-07 15:59:15 -0700
commit951247b1f6169b3cb111ca79f81f355b9fec0c55 (patch)
treea3f0afecd4379a462810566e6dd7a92b494f2dab /drivers/net/wireless/ath/wil6210/debug.c
parent33323b1e32430afab8c0509cf1b18b6d87359f55 (diff)
wil6210: add function name to wil log macros
Add __func__ to wil_err and wil_info for easier debugging. Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 290206fa7e04ea4c1620aea2624e4d998bc27a0a Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git CRs-Fixed: 1015627 Signed-off-by: Maya Erez <merez@codeaurora.org> [merez@codeaurora.org: fixed merge conflicts] Change-Id: Ib7ff8f1debd6873069df42efd7d832db64701258
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/debug.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debug.c b/drivers/net/wireless/ath/wil6210/debug.c
index 3249562d93b4..0a301277c06d 100644
--- a/drivers/net/wireless/ath/wil6210/debug.c
+++ b/drivers/net/wireless/ath/wil6210/debug.c
@@ -17,7 +17,7 @@
#include "wil6210.h"
#include "trace.h"
-void wil_err(struct wil6210_priv *wil, const char *fmt, ...)
+void __wil_err(struct wil6210_priv *wil, const char *fmt, ...)
{
struct net_device *ndev = wil_to_ndev(wil);
struct va_format vaf = {
@@ -32,7 +32,7 @@ void wil_err(struct wil6210_priv *wil, const char *fmt, ...)
va_end(args);
}
-void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...)
+void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...)
{
if (net_ratelimit()) {
struct net_device *ndev = wil_to_ndev(wil);
@@ -49,7 +49,7 @@ void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...)
}
}
-void wil_info(struct wil6210_priv *wil, const char *fmt, ...)
+void __wil_info(struct wil6210_priv *wil, const char *fmt, ...)
{
struct net_device *ndev = wil_to_ndev(wil);
struct va_format vaf = {