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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33B7DECAAD5 for ; Fri, 2 Sep 2022 09:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235842AbiIBJu1 (ORCPT ); Fri, 2 Sep 2022 05:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235396AbiIBJuV (ORCPT ); Fri, 2 Sep 2022 05:50:21 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9A0E193DD; Fri, 2 Sep 2022 02:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662112206; x=1693648206; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IaIr/VGI/rpzpeneCz+2giuJhgGkXrDlzgjqfyGBTt0=; b=XNkTVRDmdjYHpc2zFXWAZdqZpACq+NCba3Ncih6zotmMe7WIDd76MfKA tz7osbCFVke4sAMyNUagTq4E74VnYOYvI1q5XhAO9NMwx5aymVwsSEqBD /VmMQ/xyPAdLayyItkKqB8tgPPl/4RhBcGqOcp/2mrqp8/gMy5cSnOYBS MHrE+nWMU2OjlrCehVWjH1MwD6tmq/wxr7gJstOvpVttJnZU/T1QSGJiu R0tZ3QMtw7O3IFGxYgzUh53NWwdCCaoxeDXwRVUWo/G/yEr3otor7DGGw vkKh4atgyoQzUiNhnWLxBC3Q4H1gAawh+U7/zVdigDvN8dFVsZPmPqKPJ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="359904491" X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="359904491" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 02:50:06 -0700 X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="563913638" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 02:50:04 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oU3HE-007Jfu-1v; Fri, 02 Sep 2022 12:47:52 +0300 Date: Fri, 2 Sep 2022 12:47:52 +0300 From: Andy Shevchenko To: Lukas Wunner Cc: "Rafael J. Wysocki" , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Len Brown Subject: Re: [PATCH] ACPI / property: Silence missing-declarations warning in apple.c Message-ID: References: <202209020412.Ts31BZrs-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 02, 2022 at 04:15:55AM +0200, Lukas Wunner wrote: > Silence an annoying message emitted for W=1 builds: > > drivers/acpi/x86/apple.c:30:6: warning: no previous declaration for 'acpi_extract_apple_properties' [-Wmissing-declarations] Reviewed-by: Andy Shevchenko > Reported-by: kernel test robot > Signed-off-by: Lukas Wunner > --- > drivers/acpi/x86/apple.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/acpi/x86/apple.c b/drivers/acpi/x86/apple.c > index c285c91a5e9c..8812ecd03d55 100644 > --- a/drivers/acpi/x86/apple.c > +++ b/drivers/acpi/x86/apple.c > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include "../internal.h" > > /* Apple _DSM device properties GUID */ > static const guid_t apple_prp_guid = > -- > 2.36.1 > -- With Best Regards, Andy Shevchenko