* [linux-next:master 2777/7280] drivers/edac/igen6_edac.c:167:1: sparse: sparse: symbol 'ecclog_llist' was not declared. Should it be
@ 2020-11-23 3:18 kernel test robot
2020-11-23 3:18 ` [RFC PATCH linux-next] EDAC/igen6: ecclog_llist can be static kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-11-23 3:18 UTC (permalink / raw)
To: Qiuxu Zhuo
Cc: kbuild-all, Linux Memory Management List, Tony Luck,
Borislav Petkov, Mauro Carvalho Chehab, linux-media, James Morse,
Robert Richter, linux-edac, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 95065cb54210eba86bed10cb2118041524d54573
commit: 62a8cb0cbbfeaa91e121dba62530b958728afb1b [2777/7280] EDAC/igen6: Add EDAC driver for Intel client SoCs using IBECC
config: x86_64-randconfig-s031-20201123 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-134-gb59dbdaf-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=62a8cb0cbbfeaa91e121dba62530b958728afb1b
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 62a8cb0cbbfeaa91e121dba62530b958728afb1b
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> drivers/edac/igen6_edac.c:167:1: sparse: sparse: symbol 'ecclog_llist' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43411 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH linux-next] EDAC/igen6: ecclog_llist can be static
2020-11-23 3:18 [linux-next:master 2777/7280] drivers/edac/igen6_edac.c:167:1: sparse: sparse: symbol 'ecclog_llist' was not declared. Should it be kernel test robot
@ 2020-11-23 3:18 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-23 3:18 UTC (permalink / raw)
To: Qiuxu Zhuo
Cc: kbuild-all, Linux Memory Management List, Tony Luck,
Borislav Petkov, Mauro Carvalho Chehab, linux-media, James Morse,
Robert Richter, linux-edac, linux-kernel
Fixes: 62a8cb0cbbfe ("EDAC/igen6: Add EDAC driver for Intel client SoCs using IBECC")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
igen6_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/igen6_edac.c b/drivers/edac/igen6_edac.c
index b8a6d692c1e4f9..71d29297221054 100644
--- a/drivers/edac/igen6_edac.c
+++ b/drivers/edac/igen6_edac.c
@@ -164,7 +164,7 @@ struct ecclog_node {
* to EDAC core in a worker.
*/
#define ECCLOG_POOL_SIZE PAGE_SIZE
-LLIST_HEAD(ecclog_llist);
+static LLIST_HEAD(ecclog_llist);
static struct gen_pool *ecclog_pool;
static char ecclog_buf[ECCLOG_POOL_SIZE];
static struct irq_work ecclog_irq_work;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-23 3:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 3:18 [linux-next:master 2777/7280] drivers/edac/igen6_edac.c:167:1: sparse: sparse: symbol 'ecclog_llist' was not declared. Should it be kernel test robot
2020-11-23 3:18 ` [RFC PATCH linux-next] EDAC/igen6: ecclog_llist can be static kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).