From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbdAPPBD (ORCPT ); Mon, 16 Jan 2017 10:01:03 -0500 Received: from mga06.intel.com ([134.134.136.31]:10233 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750965AbdAPPBA (ORCPT ); Mon, 16 Jan 2017 10:01:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,239,1477983600"; d="scan'208";a="31184779" Message-ID: <1484578496.2133.147.camel@linux.intel.com> Subject: Re: [PATCH 1/1] x86/rtc: Allocate interrupt for platform device From: Andy Shevchenko To: kbuild test robot Cc: kbuild-all@01.org, Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org Date: Mon, 16 Jan 2017 16:54:56 +0200 In-Reply-To: <201701162254.FYsK3GjP%fengguang.wu@intel.com> References: <201701162254.FYsK3GjP%fengguang.wu@intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2017-01-16 at 22:46 +0800, kbuild test robot wrote: > 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-r > tc-Allocate-interrupt-for-platform-device/20170116-222720 > config: x86_64-randconfig-x011-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=x86_64  > > All errors (new ones prefixed by >>): > >    arch/x86/kernel/rtc.c: In function 'add_rtc_cmos': > > > 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 >    cc1: some warnings being treated as errors Hmm... Perhaps nice catch. I would check what I have missed, though I even tested this change on two platforms. > > vim +/ioapic_set_alloc_attr +202 arch/x86/kernel/rtc.c > >    196 } >    197 } >    198 #endif >    199 if (!x86_platform.legacy.rtc) >    200 return -ENODEV; >    201 >  > 202 ioapic_set_alloc_attr(&info, NUMA_NO_NODE, 1, > 0); >  > 203 ret = mp_map_gsi_to_irq(RTC_IRQ, > IOAPIC_MAP_ALLOC, &info); >    204 if (ret < 0) >    205 return ret; >    206 > > --- > 0-DAY kernel test infrastructure                Open Source Technology > Center > https://lists.01.org/pipermail/kbuild-all                   Intel > Corporation -- Andy Shevchenko Intel Finland Oy