From patchwork Mon Oct 31 09:29:49 2022 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: 13175 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2210864wru; Mon, 31 Oct 2022 02:41:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56cddt1rntbjy3pxmtxvIS0aDaYsTCxrSG21YmH9lUyKP3DRXWWBQmZBhbt6dk1Xy8XO7c X-Received: by 2002:a05:6a00:2350:b0:541:b5bf:2774 with SMTP id j16-20020a056a00235000b00541b5bf2774mr13117498pfj.28.1667209316339; Mon, 31 Oct 2022 02:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667209316; cv=none; d=google.com; s=arc-20160816; b=w7dAfEx+c9V3LE02T0Lqdin0srHLgvJwAjpSfeuj/4RnKQG3sXGvq40ZIkhY2YFvJg Vnvnc2CAqbCV0+Srgz04WtygHtCl6ISX5XTIU6bCBztNNVP4Y28Iy7oatnSo74L52laf 12AUC5AuFcxWSJbDWAzM902d//E0++xYozw4CxXTLoXnCH5nkFhDp/vIy1jXqGL0yCCZ yasA0WasHN/QVq/hJHxE1Pk7zsfb5h4BdPgOg4k5lNWqeYTB9pi6l/KnAg6K+S4whlWM zx/G1kZFNQkD/9CE00Dg9VG/OC9ohAMoWffU9I+fBDkCav2KUkRBdn0N+pyHOWlt1fo0 nQtA== 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:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=7JoBSIhXypW7Gy7Obhvf5aa/rV/BTWBY+BBqZAjQMbg=; b=NzaB6qYyazPZ4KzV0PGS+DXGn9Ki0Gdsjg6MBmX07TShN+aKELEAZl49ZX+BXvdDcX m3sdlkVuzSppcaqgGk6W/Q4hpgbN+Uc32op0wHXb4dFbrjbPoW6pBg86wIhPH+wcSlvj 2wUDx2xlw1sJrXc+JV4xyo+hqTazERNcwhSf37yP0iRYnIXqElixFJDhA5taIyA9oKQ8 g6C3Ax5tWHpTaBBwX3p1RICAtsc1sFS6Ezt6Cg2EVEtofeJZcmwn6acwmsgXMbBCC9v4 iAMJpopd2rkCGOPwgUmOci7W/qfmpEYUFk6/5ZoUnd4C9+veszV1vZFxIb9xD3uPamsZ d6Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kHIix0t4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Bb7KrgNj; 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 y20-20020a170902b49400b00178b88d40ebsi6749648plr.51.2022.10.31.02.41.43; Mon, 31 Oct 2022 02:41:56 -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=kHIix0t4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Bb7KrgNj; 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 S230048AbiJaJ34 (ORCPT + 99 others); Mon, 31 Oct 2022 05:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbiJaJ3y (ORCPT ); Mon, 31 Oct 2022 05:29:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD56DEB2; Mon, 31 Oct 2022 02:29:53 -0700 (PDT) Date: Mon, 31 Oct 2022 09:29:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1667208591; 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: in-reply-to:in-reply-to:references:references; bh=7JoBSIhXypW7Gy7Obhvf5aa/rV/BTWBY+BBqZAjQMbg=; b=kHIix0t4TWaMAEx0Sb2Nnl8P8w+D+kkx3wBg6mKBF343Zmj3qAgwjPalHzlqK85eZIT37i XCV84jcvqMTHIySq5HQCt4nXxpZ5Qln5ZTzq8/7mWN0213XDbX+WZR2h50niKp4vReHxnS lgSLYSp4zAQJ9u9BjsJwqlajDJdDjPJ0X0+xvpBte+kRhUb8QgEZcgB2EYx62vVMAZDls9 26mytd6ymr+7LJRR/aGHZqt9GFX/pELHpnO9x94gU6Juv2gYjlh06SixNFkPhouIZt0Saj SvVV9cfkkY5PQloaA74xjstu6Uqf6rjrtuS729bHiljIMiYD+6pjJy70w10L5g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1667208591; 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: in-reply-to:in-reply-to:references:references; bh=7JoBSIhXypW7Gy7Obhvf5aa/rV/BTWBY+BBqZAjQMbg=; b=Bb7KrgNjPgTBspLcPQZFBmcNwrbRkU+0vfzAoNN14az92Fi3jT836oQdQ5R5xAIEH+QPHh dDu9ouqzJ4thtKDA== From: "tip-bot2 for Chen Lifu" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/i8259: Make default_legacy_pic static Cc: Chen Lifu , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220823021958.3052493-1-chenlifu@huawei.com> References: <20220823021958.3052493-1-chenlifu@huawei.com> MIME-Version: 1.0 Message-ID: <166720858963.7716.9924110502009264129.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 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?1748195675853629302?= X-GMAIL-MSGID: =?utf-8?q?1748195675853629302?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: c9053e1c5a6fca221946f95d1fe6e47f69fb303a Gitweb: https://git.kernel.org/tip/c9053e1c5a6fca221946f95d1fe6e47f69fb303a Author: Chen Lifu AuthorDate: Tue, 23 Aug 2022 10:19:58 +08:00 Committer: Borislav Petkov CommitterDate: Mon, 31 Oct 2022 10:20:32 +01:00 x86/i8259: Make default_legacy_pic static The symbol is not used outside of the file, so mark it static. Signed-off-by: Chen Lifu Signed-off-by: Borislav Petkov Link: https://lore.kernel.org/r/20220823021958.3052493-1-chenlifu@huawei.com --- arch/x86/kernel/i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c index 15aefa3..3aa5304 100644 --- a/arch/x86/kernel/i8259.c +++ b/arch/x86/kernel/i8259.c @@ -407,7 +407,7 @@ struct legacy_pic null_legacy_pic = { .make_irq = legacy_pic_uint_noop, }; -struct legacy_pic default_legacy_pic = { +static struct legacy_pic default_legacy_pic = { .nr_legacy_irqs = NR_IRQS_LEGACY, .chip = &i8259A_chip, .mask = mask_8259A_irq,