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: 94877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp659315vqo; Tue, 16 May 2023 12:38:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Ri5gmq33UfWWwyWuPQt0S5SC02hBfsYN63tDyFjdY92IVPORem0DHPu/7jI25pkyJmu0n X-Received: by 2002:a05:6a21:99a4:b0:104:e240:c365 with SMTP id ve36-20020a056a2199a400b00104e240c365mr16848244pzb.44.1684265932097; Tue, 16 May 2023 12:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684265932; cv=none; d=google.com; s=arc-20160816; b=GKNfGy8tY6d2Azb9nAfd5KwsCZ3FuOytYHudm8bGEsLJjQlvqvmXtlmgG+CHXZIZBP owX9V6OkiiP7tRD2sxzI1v7+EplPlrdI7n38V+hq54/A8ARGLt0al1jTwYNO8VF28yPd QOWQCkDkk7NJSMahmOSAGUBvRwKczGwP7MSKGQ298oULS9yW3hR8YC5yKs0jTeMdDHEM x8+xbHyCz482IBpb4aFJk9wp9pOEfgomT0uCJGplMTLRYSZwBapySFOfpyZmvtKr18LU upOP+nmOplvDpw3cbJnDNrrAKscBK7NS5BvUQQiX9Ao+5/8zI4rdAnDyH6wLBnNRQu7u I7SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W+/JtRUrh0GvWVY91ldmd2joM0KSE7dXd4ra+xm6deM=; b=SZ1bWionwDSWvcSKPGGU3JUsQcpbbqVAc328Spibp7LymlSmrg/23FKlDZFcHEIa3K 2XahNQKPOP/ZjShGxgCpef6ZRO/ZY/7nyYJUD2XkVVaZaLYcr5Eww4tePsd67SNFPpgK 0ZIOnMlZz/7c6QvsTZJMMVfRAfnYjZPBv8QHjNzTq1vo7FcKOMvJO7PiAFPy95Q37w0q xJQtKEGxcj0Zz7ElQoH45lcjDnNqM4cUMG5Yj/gqiFtYw2AXDwx9PPbSVjfKTIsqZAZ3 or+ix+nmwzuNQ0Mj71JH7fweE64JbhQjeM8AITBkzZYVIFalfsEZd7+pSKPG+iXfWof9 V4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q3CPblb9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020aa79490000000b006430573bd4fsi20680485pfk.66.2023.05.16.12.38.39; Tue, 16 May 2023 12:38:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q3CPblb9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbjEPThy (ORCPT + 99 others); Tue, 16 May 2023 15:37:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjEPThp (ORCPT ); Tue, 16 May 2023 15:37:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1236D180; Tue, 16 May 2023 12:37:21 -0700 (PDT) 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 0BBCD63E9E; 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-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766080833851663846?= X-GMAIL-MSGID: =?utf-8?q?1766080833851663846?= 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