mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: kbuild-all@01.org, Ingo Molnar <mingo@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H . Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH 1/1] x86/rtc: Allocate interrupt for platform device
Date: Tue, 17 Jan 2017 00:16:09 +0800	[thread overview]
Message-ID: <201701170015.JYnlWkKX%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170116132956.111508-1-andriy.shevchenko@linux.intel.com>

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

Hi Andy,

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.10-rc4 next-20170116]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/x86-rtc-Allocate-interrupt-for-platform-device/20170116-222720
config: i386-randconfig-x015-201703 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/rtc.c: In function 'add_rtc_cmos':
>> arch/x86/kernel/rtc.c:181:24: error: storage size of 'info' isn't known
     struct irq_alloc_info info;
                           ^~~~
   arch/x86/kernel/rtc.c:202:2: error: implicit declaration of function 'ioapic_set_alloc_attr' [-Werror=implicit-function-declaration]
     ioapic_set_alloc_attr(&info, NUMA_NO_NODE, 1, 0);
     ^~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/rtc.c:203:8: error: implicit declaration of function 'mp_map_gsi_to_irq' [-Werror=implicit-function-declaration]
     ret = mp_map_gsi_to_irq(RTC_IRQ, IOAPIC_MAP_ALLOC, &info);
           ^~~~~~~~~~~~~~~~~
   arch/x86/kernel/rtc.c:203:35: error: 'IOAPIC_MAP_ALLOC' undeclared (first use in this function)
     ret = mp_map_gsi_to_irq(RTC_IRQ, IOAPIC_MAP_ALLOC, &info);
                                      ^~~~~~~~~~~~~~~~
   arch/x86/kernel/rtc.c:203:35: note: each undeclared identifier is reported only once for each function it appears in
   arch/x86/kernel/rtc.c:181:24: warning: unused variable 'info' [-Wunused-variable]
     struct irq_alloc_info info;
                           ^~~~
   cc1: some warnings being treated as errors

vim +181 arch/x86/kernel/rtc.c

   175		.resource	= rtc_resources,
   176		.num_resources	= ARRAY_SIZE(rtc_resources),
   177	};
   178	
   179	static __init int add_rtc_cmos(void)
   180	{
 > 181		struct irq_alloc_info info;
   182		int ret;
   183	#ifdef CONFIG_PNP
   184		static const char * const ids[] __initconst =

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30997 bytes --]

      parent reply	other threads:[~2017-01-16 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 13:29 Andy Shevchenko
2017-01-16 14:46 ` kbuild test robot
2017-01-16 14:54   ` Andy Shevchenko
2017-01-16 16:16 ` kbuild test robot [this message]

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=201701170015.JYnlWkKX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

all inboxes | Powered by JetHome®