From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7671FECE58E for ; Tue, 15 Oct 2019 08:23:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 56D392064B for ; Tue, 15 Oct 2019 08:23:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726464AbfJOIXx (ORCPT ); Tue, 15 Oct 2019 04:23:53 -0400 Received: from mga14.intel.com ([192.55.52.115]:45082 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbfJOIXx (ORCPT ); Tue, 15 Oct 2019 04:23:53 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2019 01:23:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,298,1566889200"; d="scan'208";a="194454949" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga008.fm.intel.com with ESMTP; 15 Oct 2019 01:23:34 -0700 Received: from andy by smile with local (Exim 4.92.2) (envelope-from ) id 1iKI7B-0003bE-II; Tue, 15 Oct 2019 11:23:33 +0300 Date: Tue, 15 Oct 2019 11:23:33 +0300 From: Andy Shevchenko To: Stephen Rothwell Cc: "Rafael J. Wysocki" , Linux Next Mailing List , Linux Kernel Mailing List , Mika Westerberg Subject: Re: linux-next: build warning after merge of the pm tree Message-ID: <20191015082333.GV32742@smile.fi.intel.com> References: <20191015100855.31b8a3d5@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015100855.31b8a3d5@canb.auug.org.au> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, Oct 15, 2019 at 10:08:55AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/linux/irqchip.h:14, > from arch/arm/kernel/irq.c:26: > include/linux/acpi.h:682:31: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration > 682 | acpi_dev_hid_uid_match(struct acpi_device *adev, const char *hid2, const char *uid2) > | ^~~~~~~~~~~ > > and many more. > > Introduced by commit > > d1748b57dc88 ("ACPI / utils: Introduce acpi_dev_hid_uid_match() helper") > > CONFIG_ACPI is not set for this build. I'm puzzled. Why it builds before? Another function has struct acpi_device *adev in its prototype and it was before above mentioned commit. -- With Best Regards, Andy Shevchenko