[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmiU5GyeIR8W+RL7@f68e8fcc9af0>
Date: Wed, 27 Apr 2022 08:57:08 +0800
From: kernel test robot <lkp@...el.com>
To: Duoming Zhou <duoming@....edu.cn>, krzysztof.kozlowski@...aro.org,
pabeni@...hat.com, linux-kernel@...r.kernel.org
Cc: kbuild-all@...ts.01.org, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, gregkh@...uxfoundation.org,
alexander.deucher@....com, broonie@...nel.org,
akpm@...ux-foundation.org, linma@....edu.cn,
Duoming Zhou <duoming@....edu.cn>
Subject: [RFC PATCH] nfc: nfcmrvl: main: nfc_download can be static
net/nfc/core.c:28:6: warning: symbol 'nfc_download' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
net/nfc/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/nfc/core.c b/net/nfc/core.c
index da8199f67d42c..9035935e93d80 100644
--- a/net/nfc/core.c
+++ b/net/nfc/core.c
@@ -25,7 +25,7 @@
#define NFC_CHECK_PRES_FREQ_MS 2000
int nfc_devlist_generation;
-bool nfc_download;
+static bool nfc_download;
DEFINE_MUTEX(nfc_devlist_mutex);
/* NFC device ID bitmap */
Powered by blists - more mailing lists