From d670333e808a2a0e9b96b91a4ad5487a6bbb7d57 Mon Sep 17 00:00:00 2001 From: Chetan Sethi Date: Tue, 28 Feb 2017 12:01:07 +0900 Subject: [PATCH] staging: ks7010: fix coding style issue of using __func__ instead of __FUNCTION__ This patch fixes coding style issue of using __func__ instead of gcc specific __FUNCTION__, warning as issued by checkpatch Signed-off-by: Chetan Sethi Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ks7010/ks_wlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index f1dfa73a779c..0e40159d9c6c 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -38,7 +38,7 @@ #define DPRINTK(n, fmt, args...) \ do { \ if (KS_WLAN_DEBUG > (n)) \ - pr_notice("%s: "fmt, __FUNCTION__, ## args); \ + pr_notice("%s: "fmt, __func__, ## args); \ } while (0) #else #define DPRINTK(n, fmt, args...)