Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3091457imm; Thu, 17 May 2018 03:16:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpEO15PJ3M1YhBdhms03y3LFQO6J57Tu3EktQO+T/6LOB6nke8WMsaliiLIekHHvbaU7rxZ X-Received: by 2002:aa7:8084:: with SMTP id v4-v6mr4600180pff.105.1526552216910; Thu, 17 May 2018 03:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526552216; cv=none; d=google.com; s=arc-20160816; b=w+wnIxvmN2rak7quxj5e9psMD0OOYJun2kUc1xA3IeuYV5WtRX56kNGU2DJcbMbDCK pkJRc6uEOFadIsf+Z3ePj456E622ytL//dqRycE3QsLT2pbr/pbfPYqH3Hg7yHVbJZq3 RNwLDIVl9ATwniLcMrHP9dA9MdzrqK7l/DiVfwKkyjXBnZsak9e9zlPpa14aEc/9cieW qAlxB28XBHUxY2fATvXi/lHBIrX9/a6DmTzuZTSu+FLRT5nNlFVoQrzVmJDBMuTq6d1h NEmTeNQL9qNPjwkTxY1Kz6VEG11NihL+GbBesGQ2YIP+fZCBoF5TtcEkO4fEee2xeWAl IVYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZANPqU+94ve0yVjzxyNtPwQ2vTWW3COkb7Og9R68/X8=; b=arnL64q7NjrTJVakzVV/hr84/kpEU2zyZxswEAbwx0P953iLMk4ON+6xzC7R9jzsEy P71lQo1w3jndqOK6mMq47fHL/74vjdWLppqvun+8ujNTevySUWtfzElfrixheq1debfy AnjxTxUMq/CMuPat+8OxN5U1J7qNXKhWXYwMYnQ3TJFatN4carfCodV7NPUMZ4FV4ykZ 1tVUTQbYAr0ilLTTav2pioUbT2BiQ2LS7Ld/nY42KGnhnrAEqj2DDY1dvw5celUpLOGg YXArq31ZX+dxrxxepyS8tS2xo5xk2TDgXuhc+5s5OPsBwRdE9DV367ibcs+S5k6i9Vxy w2DQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h127-v6si5367508pfb.111.2018.05.17.03.16.42; Thu, 17 May 2018 03:16:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752081AbeEQKPl convert rfc822-to-8bit (ORCPT + 99 others); Thu, 17 May 2018 06:15:41 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:59003 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751017AbeEQKPj (ORCPT ); Thu, 17 May 2018 06:15:39 -0400 Received: from 79.184.254.241.ipv4.supernova.orange.pl (79.184.254.241) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id b7e0b0801dffa1ab; Thu, 17 May 2018 12:15:37 +0200 From: "Rafael J. Wysocki" To: Mathieu Malaterre Cc: Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] acpi: add missing prototype for =?UTF-8?B?4oCYYXJjaF9wb3N0X2FjcGlfc3Vic3lzX2luaXTigJk=?= Date: Thu, 17 May 2018 12:15:04 +0200 Message-ID: <1741093.hO3EZQahsV@aspire.rjw.lan> In-Reply-To: <20180505203603.4071-1-malat@debian.org> References: <20180505203603.4071-1-malat@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, May 5, 2018 10:36:03 PM CEST Mathieu Malaterre wrote: > In commit e7ff3a47630d ("x86/amd: Check for the C1E bug post ACPI subsystem > init") a new function ‘arch_post_acpi_subsys_init’ was introduced. This > weak function can potentially be overridden on a per arch basis, introduce > the prototype for clarity. > > Silence the following gcc warning (W=1): > > init/main.c:484:20: warning: no previous prototype for ‘arch_post_acpi_subsys_init’ [-Wmissing-prototypes] > > Signed-off-by: Mathieu Malaterre > --- > include/linux/acpi.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/acpi.h b/include/linux/acpi.h > index 15bfb15c2fa5..cb4d7b6b085c 100644 > --- a/include/linux/acpi.h > +++ b/include/linux/acpi.h > @@ -578,6 +578,7 @@ int acpi_match_platform_list(const struct acpi_platform_list *plat); > > extern void acpi_early_init(void); > extern void acpi_subsystem_init(void); > +extern void arch_post_acpi_subsys_init(void); > > extern int acpi_nvs_register(__u64 start, __u64 size); > > Applied, thanks!