[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201512180656.lbEt3BvY%fengguang.wu@intel.com>
Date: Fri, 18 Dec 2015 06:44:32 +0800
From: kbuild test robot <lkp@...el.com>
To: Dave Hansen <dave@...1.net>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Dave Hansen <dave@...1.net>, dave.hansen@...ux.intel.com,
bp@...e.de, hpa@...or.com, fenghua.yu@...el.com,
yu-cheng.yu@...el.com
Subject: Re: [PATCH 2/5] x86: test early command-line code
Hi Dave,
[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151217]
[cannot apply to tip/x86/core]
url: https://github.com/0day-ci/linux/commits/Dave-Hansen/x86-pass-in-size-to-early-cmdline-parsing/20151218-055822
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
arch/x86/kernel/check.c:170:1: sparse: expected ';' at end of parameter declaration
arch/x86/kernel/check.c:170:1: sparse: expected function body
arch/x86/kernel/check.c:170:1: sparse: Expected ; at the end of type declaration
arch/x86/kernel/check.c:170:1: sparse: got =
In file included from arch/x86/kernel/check.c:1:0:
arch/x86/kernel/check.c: In function 'test_early_cmdline':
>> include/linux/init.h:183:20: error: storage class specified for parameter '__initcall_test_early_cmdline7'
static initcall_t __initcall_##fn##id __used \
^
include/linux/init.h:216:28: note: in expansion of macro '__define_initcall'
#define late_initcall(fn) __define_initcall(fn, 7)
^
>> arch/x86/kernel/check.c:170:1: note: in expansion of macro 'late_initcall'
late_initcall(test_early_cmdline);
^
>> arch/x86/kernel/check.c:170:1: error: parameter '__initcall_test_early_cmdline7' is initialized
>> arch/x86/kernel/check.c:170:1: warning: '__used__' attribute ignored [-Wattributes]
In file included from arch/x86/kernel/check.c:1:0:
>> include/linux/init.h:183:20: error: section attribute not allowed for '__initcall_test_early_cmdline7'
static initcall_t __initcall_##fn##id __used \
^
include/linux/init.h:216:28: note: in expansion of macro '__define_initcall'
#define late_initcall(fn) __define_initcall(fn, 7)
^
>> arch/x86/kernel/check.c:170:1: note: in expansion of macro 'late_initcall'
late_initcall(test_early_cmdline);
^
>> arch/x86/kernel/check.c:170:34: error: expected declaration specifiers before ';' token
late_initcall(test_early_cmdline);
^
>> arch/x86/kernel/check.c:169:5: error: old-style parameter declarations in prototyped function definition
int test_early_cmdline(void)
^
>> arch/x86/kernel/check.c:170:34: error: expected '{' at end of input
late_initcall(test_early_cmdline);
^
>> arch/x86/kernel/check.c:170:34: warning: control reaches end of non-void function [-Wreturn-type]
late_initcall(test_early_cmdline);
^
sparse warnings: (new ones prefixed by >>)
include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> arch/x86/kernel/check.c:170:1: sparse: expected ';' at end of parameter declaration
>> arch/x86/kernel/check.c:170:1: sparse: expected function body
arch/x86/kernel/check.c:170:1: sparse: Expected ; at the end of type declaration
arch/x86/kernel/check.c:170:1: sparse: got =
In file included from arch/x86/kernel/check.c:1:0:
arch/x86/kernel/check.c: In function 'test_early_cmdline':
include/linux/init.h:183:20: error: storage class specified for parameter '__initcall_test_early_cmdline7'
static initcall_t __initcall_##fn##id __used \
^
include/linux/init.h:216:28: note: in expansion of macro '__define_initcall'
#define late_initcall(fn) __define_initcall(fn, 7)
^
arch/x86/kernel/check.c:170:1: note: in expansion of macro 'late_initcall'
late_initcall(test_early_cmdline);
^
arch/x86/kernel/check.c:170:1: error: parameter '__initcall_test_early_cmdline7' is initialized
arch/x86/kernel/check.c:170:1: warning: '__used__' attribute ignored [-Wattributes]
In file included from arch/x86/kernel/check.c:1:0:
include/linux/init.h:183:20: error: section attribute not allowed for '__initcall_test_early_cmdline7'
static initcall_t __initcall_##fn##id __used \
^
include/linux/init.h:216:28: note: in expansion of macro '__define_initcall'
#define late_initcall(fn) __define_initcall(fn, 7)
^
arch/x86/kernel/check.c:170:1: note: in expansion of macro 'late_initcall'
late_initcall(test_early_cmdline);
^
arch/x86/kernel/check.c:170:34: error: expected declaration specifiers before ';' token
late_initcall(test_early_cmdline);
^
arch/x86/kernel/check.c:169:5: error: old-style parameter declarations in prototyped function definition
int test_early_cmdline(void)
^
arch/x86/kernel/check.c:170:34: error: expected '{' at end of input
late_initcall(test_early_cmdline);
^
arch/x86/kernel/check.c:170:34: warning: control reaches end of non-void function [-Wreturn-type]
late_initcall(test_early_cmdline);
^
vim +/__initcall_test_early_cmdline7 +170 arch/x86/kernel/check.c
163 schedule_delayed_work(&bios_check_work, 0);
164 return 0;
165 }
166 device_initcall(start_periodic_check_for_corruption);
167
168 #ifdef CONFIG_X86_TEST_EARLY_CMDLINE
> 169 int test_early_cmdline(void)
> 170 late_initcall(test_early_cmdline);
171 #endif /* CONFIG_X86_TEST_EARLY_CMDLINE */
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (51064 bytes)
Powered by blists - more mailing lists