Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2421773rwb; Sat, 8 Oct 2022 07:32:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65yfHx47y+uQ9YAdV6EhaYmF81Kt9sVBriAAALO+iRFK1fwIhUX6hFqAFEqC6BH/g9attX X-Received: by 2002:a17:90a:fa85:b0:20b:50ae:62b2 with SMTP id cu5-20020a17090afa8500b0020b50ae62b2mr9981261pjb.3.1665239576785; Sat, 08 Oct 2022 07:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665239576; cv=none; d=google.com; s=arc-20160816; b=zPZgyNkNj3UHabfIntwY5Y4mvXVU26dY6fWnKe6FNNq7cHkgfymwZIZkfiEL+rkndW iVgK+wUubqsxO2OdvNI2cKNVGZoJvrIIdWlEOFkcGztm2qRIVqjSxvfariBJzdFs7kBw tGbuIw53ewZDtWmnWz8rDzIxteqxhE+OAxQowiyf7SoMHEOH3vedBlThO+okJDj0QBm7 NBkL0vqOwqNSOMPYXqJGzjhsh+R/FKrX98IRrb/B+nVqJTzSJhZAxxWp0uIVwhhUXalT kq9BqrnDG35KT/UDzz+5W6V7isEHIQArLqOETVl/k2uP6IkTJj4zhEGuwliBNjuWwc1C QyfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=6wjNaTpLFexb7xFK/VqbLa4Q3NtsC3lG2xY1HzB2m9A=; b=jRWmW/bH2bzsT5MOrMpeB3UKs4ebOgfHyfLWP5CjMXhd1/fD3QTrKvZnaB3m0RKGlv 80X84ilYPDzQlW6u6HFWd1o3LSQWyjbi9bcb8kmhjZT/VRS7tngWalh9Fe+TV2QHp9zb eEyXg73CSmxK+cpwe+YRDRfx2tw9v2MD5eTCpftfnpvZid5WTT2Q3y2gUfitRrIQt0Xr rm69ecU091lKBL1/M7f2o6bEqWvnasKdGcEmjdfaEogtZ8ZK0ik3tiK6KMwelO3V++Rr spBbRt98XPL4pg+f9pULawPeerGZbPM/seMIERAh4O3ZT3ZYBkQkQ2PJXRwt4L3kUnSs eDNg== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a1709027fc900b0017669d005casi5046951plb.595.2022.10.08.07.32.39; Sat, 08 Oct 2022 07:32: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; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbiJHNmN (ORCPT + 99 others); Sat, 8 Oct 2022 09:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbiJHNmH (ORCPT ); Sat, 8 Oct 2022 09:42:07 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C1EB4F3A4 for ; Sat, 8 Oct 2022 06:42:05 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Ml5p41PnXz1P6gY; Sat, 8 Oct 2022 21:37:32 +0800 (CST) Received: from [10.67.111.176] (10.67.111.176) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 8 Oct 2022 21:42:00 +0800 Message-ID: <43ebb21e-a445-748f-f78b-51535a8384c1@huawei.com> Date: Sat, 8 Oct 2022 21:41:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Ping: [PATCH -next v3 0/2] Remove unused variables in x86/boot To: , , , , , , , , CC: , , , , , , , , References: <20220927081512.2456624-1-lizetao1@huawei.com> <20220930032727.3451619-1-lizetao1@huawei.com> Content-Language: en-US From: Li Zetao In-Reply-To: <20220930032727.3451619-1-lizetao1@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.111.176] X-ClientProxiedBy: dggpeml500024.china.huawei.com (7.185.36.10) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 On 2022/9/30 11:27, Li Zetao wrote: > This series removes some unused variables in x86/boot, and add the > "-Wall" flag to Makefile, which is the old problem of x86 not sharing > makefiles. > > Changes since v2: > - Add "frame-address" flag and "-std=gnu11" to > x86/boot/compressed/Makefile to fix warnings when "-Wall" flag added. > - Declare the variable "i" within the for loop to reslove unused > variable warning. > - Delete __efi_get_rsdp_addr function when CONFIG_EFI is disabled to > resolve unused function warning. > > v2 at: > https://lore.kernel.org/all/20220927081512.2456624-1-lizetao1@huawei.com/ > > Changes since v1: > - Add "-Wall" flag to x86/boot/compressed/Makefile > - Remove unused variables "et" in efi_get_system_table() and "ret" in > efi_get_conf_table() > - Remove unused variables "ret" in __efi_get_rsdp_addr() and > "nr_tables" in efi_get_rsdp_addr() > > v1 at: > https://lore.kernel.org/all/20220923113209.3046960-1-lizetao1@huawei.com/ > > Li Zetao (2): > x86/boot/compressed: Add "-Wall" flag to Makefile > x86/boot: Remove unused variables > > arch/x86/boot/compressed/Makefile | 3 ++- > arch/x86/boot/compressed/acpi.c | 7 +++---- > arch/x86/boot/compressed/efi.c | 2 -- > arch/x86/boot/compressed/kaslr.c | 3 +-- > arch/x86/boot/compressed/sev.c | 1 - > 5 files changed, 6 insertions(+), 10 deletions(-) PING. Best regards, Li Zetao