linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Dave Hansen <dave@sr71.net>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Dave Hansen <dave@sr71.net>,
	dave.hansen@linux.intel.com, bp@suse.de, hpa@zytor.com,
	fenghua.yu@intel.com, yu-cheng.yu@intel.com
Subject: Re: [PATCH 2/5] x86: test early command-line code
Date: Fri, 18 Dec 2015 06:44:32 +0800	[thread overview]
Message-ID: <201512180656.lbEt3BvY%fengguang.wu@intel.com> (raw)
In-Reply-To: <20151217220052.3A8C69AA@viggo.jf.intel.com>

[-- Attachment #1: Type: text/plain, Size: 5695 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 51064 bytes --]

  reply	other threads:[~2015-12-17 22:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 22:00 [PATCH 1/5] x86: pass in size to early cmdline parsing Dave Hansen
2015-12-17 22:00 ` [PATCH 2/5] x86: test early command-line code Dave Hansen
2015-12-17 22:44   ` kbuild test robot [this message]
2015-12-18  2:03   ` kbuild test robot
2015-12-17 22:00 ` [PATCH 3/5] x86: fix early command-line parsing when matching at end Dave Hansen
2015-12-17 22:00 ` [PATCH 4/5] x86: fix early command-line parsing, when partial word match Dave Hansen
2015-12-17 22:01 ` [PATCH 5/5] x86: simplify early command line parsing Dave Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201512180656.lbEt3BvY%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bp@suse.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=dave@sr71.net \
    --cc=fenghua.yu@intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yu-cheng.yu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).