From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbbJYCIn (ORCPT ); Sat, 24 Oct 2015 22:08:43 -0400 Received: from mga01.intel.com ([192.55.52.88]:14104 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752140AbbJYCIk convert rfc822-to-8bit (ORCPT ); Sat, 24 Oct 2015 22:08:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,194,1444719600"; d="scan'208";a="802235334" From: "Chen, Yu C" CC: "kbuild-all@01.org" , "rjw@rjwysocki.net" , "lenb@kernel.org" , "Zhang, Rui" , "Zheng, Lv" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "stable@vger.kernel.org" , "Wu, Fengguang" , "Li, Philip" Subject: RE: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events Thread-Topic: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events Thread-Index: AQHRDn1qvq3r9jkz80+210ZLTobqZp56XPCAgAEY1VA= Date: Sun, 25 Oct 2015 02:08:29 +0000 Message-ID: <36DF59CE26D8EE47B0655C516E9CE6402865EE80@shsmsx102.ccr.corp.intel.com> References: <1445706156-20203-1-git-send-email-yu.c.chen@intel.com> <201510250151.vYKQmll5%fengguang.wu@intel.com> In-Reply-To: <201510250151.vYKQmll5%fengguang.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This should not be a valid warning IMO, because PATCH 2/3 is based on PATCH 1/3, and the warning of implicit declaration is defined in PATCH 1/3. > -----Original Message----- > From: lkp > Sent: Sunday, October 25, 2015 1:19 AM > To: Chen, Yu C > Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang, Rui; > Zheng, Lv; linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > pm@vger.kernel.org; Chen, Yu C; stable@vger.kernel.org > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events > > Hi Chen, > > [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] > > url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using- > correct-irq-when-waiting-for-events/20151025-010210 > config: x86_64-randconfig-x015-201543 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All error/warnings (new ones prefixed by >>): > > In file included from include/uapi/linux/stddef.h:1:0, > from include/linux/stddef.h:4, > from include/uapi/linux/posix_types.h:4, > from include/uapi/linux/types.h:13, > from include/linux/types.h:5, > from include/linux/list.h:4, > from include/linux/module.h:9, > from drivers/acpi/osl.c:26: > drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete': > >> drivers/acpi/osl.c:1183:6: error: implicit declaration of function > 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration] > if (acpi_sci_irq_valid()) > ^ > include/linux/compiler.h:147:28: note: in definition of macro '__trace_if' > if (__builtin_constant_p((cond)) ? !!(cond) : \ > ^ > >> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if' > if (acpi_sci_irq_valid()) > ^ > >> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared (first use in this > function) > synchronize_hardirq(acpi_sci_irq); > ^ > drivers/acpi/osl.c:1184:23: note: each undeclared identifier is reported only > once for each function it appears in > cc1: some warnings being treated as errors > > vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c > > 1177 void acpi_os_wait_events_complete(void) > 1178 { > 1179 /* > 1180 * Make sure the GPE handler or the fixed event handler is > not used > 1181 * on another CPU after removal. > 1182 */ > > 1183 if (acpi_sci_irq_valid()) > > 1184 synchronize_hardirq(acpi_sci_irq); > 1185 flush_workqueue(kacpid_wq); > 1186 flush_workqueue(kacpi_notify_wq); > 1187 } > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation