Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6807054rwb; Tue, 22 Nov 2022 20:08:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf5gtsOqd8UzCAvbmm+53J2BSqLAi8ZhFZHbVLiIbgUrHUGBAvlvgHC3ZdG3I2xQPCorlOit X-Received: by 2002:a17:90a:b38b:b0:214:1328:ac8f with SMTP id e11-20020a17090ab38b00b002141328ac8fmr28563771pjr.198.1669176520142; Tue, 22 Nov 2022 20:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669176520; cv=none; d=google.com; s=arc-20160816; b=jpldXcG1peYCQn27ZxCoqeAGQO260RMHcr2WstrvKud5M3mSINxfkQ2dJmnWpWxdxu d9oYhIE1JqUtRg8oT3OQhLjriXt8zYgDeWVTQmJOi8bwTlE57+dg0U+28fkGLIXDogDR 9RGLgYunVY0lDdC+YAN+mg+gUUiDnl3/EmqkajgKYLIWSNsHVgLFbi81u3yqqGjb9rSh w8QhNvOoZqsW6GiG8jVvc+kJ5RtEWa1iw3XSJi9d/vvb7iMZNiXby5K7FS+J8qWvUtIe q/28/9HZrs/I3ZuwgU1mKujZlAo8eqsEQzcsnCs7LCOE3u3eunK6yC/7jAnINQe7UYbX ODCg== 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 :message-id:date:subject:cc:to:from; bh=x4GtuKDNIZrux39U8e8bnNm/ZyhFQSUjwngBxPoDXAU=; b=XvgSGCwC9FUxSHmVEuD2No3Od7J7L0c5qoiBjqifWDnoK96XpsEIPJnw83tU1BlcgQ SW7c6ovhGnwlevY90LfJTqJnlUg4MsrGAF19z8gL20zEm9enfL9QVnImZ7h4Ik4D8QKP 3V2BnpUTqYoJss0CWM/oBNNRHOozaj9TgYywnrjmOsDTacEP8w/f0ijkqfUSYDC9vU73 cm0cYa0lm+Jp9vHCiuKqit8Lb4sSqP+PlmOT76NRJXvlS9J5wEnqixRV5b1rIb4925e4 tfMedW8eMYRcM6oAuDdPpn4ZDeigY5IrIlNSZDzihbnumrZ2Vl5f/Sba7mDx9q8DG5yt Hxyg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2-20020a631142000000b00476f67b655asi14838089pgr.131.2022.11.22.20.08.28; Tue, 22 Nov 2022 20:08:40 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235568AbiKWDmd (ORCPT + 89 others); Tue, 22 Nov 2022 22:42:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234329AbiKWDmb (ORCPT ); Tue, 22 Nov 2022 22:42:31 -0500 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A19ACD4; Tue, 22 Nov 2022 19:42:28 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VVV8TGg_1669174943; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VVV8TGg_1669174943) by smtp.aliyun-inc.com; Wed, 23 Nov 2022 11:42:26 +0800 From: Jiapeng Chong To: rafael@kernel.org Cc: lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ACPI: bus: make osc_sb_ffh_opregion_support_confirmed static Date: Wed, 23 Nov 2022 11:42:15 +0800 Message-Id: <20221123034215.119461-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 This symbol is not used outside of bus.c, so marks it static. drivers/acpi/bus.c:304:6: warning: symbol 'osc_sb_ffh_opregion_support_confirmed' was not declared. Should it be static? Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3241 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/acpi/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index a5ec8120e510..c2effd3f56ab 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -301,7 +301,7 @@ EXPORT_SYMBOL_GPL(osc_sb_native_usb4_support_confirmed); bool osc_sb_cppc2_support_acked; -bool osc_sb_ffh_opregion_support_confirmed; +static bool osc_sb_ffh_opregion_support_confirmed; static u8 sb_uuid_str[] = "0811B06E-4A27-44F9-8D60-3CBBC22E7B48"; static void acpi_bus_osc_negotiate_platform_control(void) -- 2.20.1.7.g153144c