From patchwork Thu May 18 22:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96069 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp830213vqo; Thu, 18 May 2023 15:11:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ChgwQhkqRPcdTngVxiy76OiFckmY2yKyPQIZZ0qN9I6Bp69en1K2s6rL72HpRmGqpVclb X-Received: by 2002:a05:6a21:339a:b0:109:f5f2:69ba with SMTP id yy26-20020a056a21339a00b00109f5f269bamr1327288pzb.31.1684447910383; Thu, 18 May 2023 15:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447910; cv=none; d=google.com; s=arc-20160816; b=xkye3uu0MMr+C8Vl8kd/2LfsBGr/Pgg+k9SbKm3K8oY8lBg8ki/HSRAd47dJtWO6vm g5cWYTpDUKMd9jwD+pwYuAa0aJ20RptK71/4/5Hl7Myx7fHei0VCaHwX5m55dq6B+axq c2VCeU0QiWntAhslhbv/JUzAONMnbqMQTOg/Bah3BsV6+vE4IQplliFKPUSjWol8r3Yh gMz5XldKPtu1ybl6JAi/9fqSTV2mRMccgLtWSyqtKDi61a6DjFO/PFkGWomNxdmHOkQO 5KnAdlf650i+WmXWy0SG3yxI3BvjowPiQrIIizNxuK8bJXVE6BnnYl2S/6hDHMj4U7d7 P8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=Q90wEZtoy57yTiX+qUnwxcIu4K08qvGduE+8ufkTtbc=; b=IwczGQzhc1J95VA9qtIAZRAvt8L/lU6eupvNcsWF5/vLOVOG+dxfYhXBXqkUMWE1XT ilbWa0EKTm5pE7lplYxAohIyZW1l3RCkMbQHAmrco8nB1q1TQ4WGT9exz+SrGofkpdBi cw+IYe+0kgSfFRlvDs9SKBf9xM2Q6oHNdFWNmIjDX5hak0zVxxvePlxfii3iZhDJZk/N 7+Yf48UuVw+9M0kj+luTdCnSs7ijHrvKTY8kFtNEpAT11n32iaNEQ46LBc2kVc9Sm8l5 NUYkAE0pgMZhxvbpSorKciaqk/H9t5y/A14jnVlokplwCsArL4t4mHxnWXeDL9J+7wUF azQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KqJdnBj+; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k10-20020a637b4a000000b0051bb415165dsi2383809pgn.194.2023.05.18.15.11.36; Thu, 18 May 2023 15:11:50 -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=@linutronix.de header.s=2020 header.b=KqJdnBj+; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230091AbjERWDd (ORCPT + 99 others); Thu, 18 May 2023 18:03:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjERWDS (ORCPT ); Thu, 18 May 2023 18:03:18 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CEB2E5E; Thu, 18 May 2023 15:03:17 -0700 (PDT) Date: Thu, 18 May 2023 22:03:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q90wEZtoy57yTiX+qUnwxcIu4K08qvGduE+8ufkTtbc=; b=KqJdnBj+TO//bnu55swXXJd1dg5O+GrnJZG7fiywLPEZzU1mS6N9Q647XXwsVvqcvKl6W4 3OdQOCfcDSlhGAIDHljN/c4Pru8bgKLBuEAkfUQuSzda11K8t2S4vD10y9/DozLt0PTNiO +ancU/ok8RIJIYlUDI11EiHM2XnxFCNupNzcC4Bj+VAdXXVEflXQw6iP5PE+q1YDO/DgvV Qeq5ALHGYBditW0odmSFb0zL1TlZ7VYwjaaolSN2Wb9Fw6NHAOzu4sctAAC5CaTgKjrpCr RbBTqkA22YnjBK65m9Fy4QuTV5dWLAIRzXNstqFBv9A1rECAHWbX/EE5iBP73w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q90wEZtoy57yTiX+qUnwxcIu4K08qvGduE+8ufkTtbc=; b=lPJlOjPdobLK2l94IyZBttqM4s0xuv5yUwjK6aOki1QRLxxbM4uejzx5uCio3WwjdZKrMS lSDScYwmHSNQvxCA== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/quirks: Include linux/pnp.h for arch_pnpbios_disabled() Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739404.404.1981750002519034291.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1766271651803006613?= X-GMAIL-MSGID: =?utf-8?q?1766271651803006613?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 056b44a4d10907ec8153863b2a0564e808ef1440 Gitweb: https://git.kernel.org/tip/056b44a4d10907ec8153863b2a0564e808ef1440 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:38 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/quirks: Include linux/pnp.h for arch_pnpbios_disabled() 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 Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-10-arnd%40kernel.org --- 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 b348a67..b525fe6 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