From patchwork Tue May 16 19:35:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243599 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E20BEC77B7F for ; Tue, 16 May 2023 19:37:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7F035280002; Tue, 16 May 2023 15:37:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A091280001; Tue, 16 May 2023 15:37:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 668A5280002; Tue, 16 May 2023 15:37:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 59827280001 for ; Tue, 16 May 2023 15:37:06 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id F31B0803D9 for ; Tue, 16 May 2023 19:37:05 +0000 (UTC) X-FDA: 80797126410.18.78A82D6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf23.hostedemail.com (Postfix) with ESMTP id 3075C14001E for ; Tue, 16 May 2023 19:37:03 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Q3CPblb9; spf=pass (imf23.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684265824; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=W+/JtRUrh0GvWVY91ldmd2joM0KSE7dXd4ra+xm6deM=; b=Y7r1be675iFN0XM+3k9fXzMQvwx/DnWjQgRKurEFTmMwkzowMDczsJ2scwTLvTX/QRzsn2 CNsgQLu9a71D1m+El89MDb0KfcZpFIUHD6whkWiqY8QSg7fnDg1kMpnSLtVjpbIxuX0H9c 9OOAF/xM7Hd3MjzplNjz0v/7M5//F3M= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684265824; a=rsa-sha256; cv=none; b=0axPx6Fp+45pGDzhC2FvIsZS4FAo5b8gWsf0QSt1eUDtEiXsRdw9lq/6N3LXEiGrz8a7KQ XIFiZzZX4zLWVVTH/2geRzh5zaJjKi+IxtNLBp03XMpRzFUkAHJp7kaTroaX7i8bQK3HXR Bo21+WlaBINQTfVF/l7CyW0k0o8/LDM= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Q3CPblb9; spf=pass (imf23.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4C09F63EB5; Tue, 16 May 2023 19:37:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD2D1C433AC; Tue, 16 May 2023 19:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684265822; bh=DMCbu5Ck8nL16laCe8gzQ409+Zy7oFJ6XN+76haQQGQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q3CPblb9vbnnqFuY1tw61aFfK9l0Nhj6hfccpdSnjngrZvApvgdIxViPf4vjP57Qt qFvGozg2KkPlPBN+rhtss57IV7tT1g8FtyasUBtWiN829+Muh+cn2shwW83ND+k0Cc FplnF09GMWMj2fcC0b4/jJX2TTCfua7UEdLt0MdxFgk7PQtYpG9Ml8CxcQcizGiZaB ZR03FhPL6TM5aGirSEx1n5ym6Z3bavzahWDpVyLa0GqRqs2Kjp4+nNz+wxsThyDUFs rdCC/oV4Ld02UzX5Lf0ab8U3AP0KQT6Q7EydXL76RrAs/+USlWya2sP3b0UpG2emEd pAwthPxEXYTPA== From: Arnd Bergmann To: x86@kernel.org Cc: Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Juergen Gross , "Srivatsa S. Bhat (VMware)" , Alexey Makhalov , VMware PV-Drivers Reviewers , Peter Zijlstra , Darren Hart , Andy Shevchenko , Boris Ostrovsky , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, platform-driver-x86@vger.kernel.org, xen-devel@lists.xenproject.org, linux-pm@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 09/20] x86: platform_quirks: include linux/pnp.h for arch_pnpbios_disabled Date: Tue, 16 May 2023 21:35:38 +0200 Message-Id: <20230516193549.544673-10-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> References: <20230516193549.544673-1-arnd@kernel.org> MIME-Version: 1.0 X-Stat-Signature: pcjxdhurr9smf9t3rngm6fktabjorxwr X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 3075C14001E X-HE-Tag: 1684265823-838479 X-HE-Meta: U2FsdGVkX1/hggiOqGh9L8DLHh+qvoOPNIs8MwYQ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rpDHP4kA6hVOEi9kA0cuCKcL/uyQh5G6QUZ3ngf9M39WSYkeODqPdyqu0S85Pl/osDVy/djOn/NhTABe5zw08nKnew9HoXgbBtZf4Vd3uT1eHomaET4hfce8Bqy1Z8mGKOnOCE9kDGztNkaOZzcPSvPjzaWZfkqBU6D3C4E/DK+p6pteHK3oTkIfc63PRJrpvh23aPK/m+oXqq7MTttPo= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Arnd Bergmann arch_pnpbios_disabled() is defined in architecture code on x86, but this does not include the appropriate header, causing a warning: arch/x86/kernel/platform-quirks.c:42:13: error: no previous prototype for 'arch_pnpbios_disabled' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/x86/kernel/platform-quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c index b348a672f71d..b525fe6d6657 100644 --- a/arch/x86/kernel/platform-quirks.c +++ b/arch/x86/kernel/platform-quirks.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include #include