Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1008031rwd; Wed, 31 May 2023 08:16:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4X1Dpdcyqs4BKHBIzocKLRlHwe3ftaJbduBCtOW2/YRBaGpBFE25D2qkUGDYGNGeHcmfrC X-Received: by 2002:a17:90b:4a86:b0:256:93bf:c730 with SMTP id lp6-20020a17090b4a8600b0025693bfc730mr4640724pjb.13.1685546216618; Wed, 31 May 2023 08:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685546216; cv=none; d=google.com; s=arc-20160816; b=WQwSqzex5qS5GfLT6UmRE8s5b+QtMZtOXUTsGxqRl/Fc55qRLdjnN4ttCj+4ZZkqql FtzeTCsoxA49oa3Om3GYw+cX2IW5PFzAmJuOZJ84rq5bAq558gur/Gbnx7wR+kW4MXmQ 7NoLWD1aWnUJ3iDduf8Qjaf8LWl9lbPZKUL/g7QVf8MHG8rQQoahO8D9lUqhfDkbJKvt qo6hMoOmYkSHT2+RmiWf93oMlhEjAdcBl1Oeu2CgFeXT/9Wm1dKN882tiPQyEBJwhNjY MvdPkELHA8lEOwKPMxyuDQSMouYfSJMZxI+t9HG/Yw5mB5kqm1IoXzOoK4IwistkuUcE lF8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=gYnhC0PVur1rY25qq+aBuJRXsiMQGpGoZd8kt5cQVsc=; b=uONsRn7Df8kBfQCdeurASQ2BL5oEHWGm50rvq0EDmAOzbqe3grkEhQt9VWGsTLUT9V Rs2BesjyZYZK7tGIoWiYHTC4qptvaV1OmubxRoCudYAFey9Gssez1qxmd8qHgKsjxvXM +JtWURutNNtj7nI/xyvRhl9R7azkY2cgbyiQVjzUS2s1J5aHrs/NNNduz6ed/bhtIJNg ZIfET/vIcWHUpHiu/LHGEAhvqz2cgzDSGtDdwztl2DBG5+fW0QrST7bsTRRKVjf07uu7 s+smRx2IG1+mF7dWNmIzwZxCg4kszE4osGlfmsiKyR5oz1ImQBSTLWnlNqKiBLFVN5H3 nnhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E41USqB9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id co7-20020a17090afe8700b00250252e39besi1105383pjb.135.2023.05.31.08.16.42; Wed, 31 May 2023 08:16: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=@kernel.org header.s=k20201202 header.b=E41USqB9; 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 S234153AbjEaPKb (ORCPT + 99 others); Wed, 31 May 2023 11:10:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232568AbjEaPKY (ORCPT ); Wed, 31 May 2023 11:10:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BC27107 for ; Wed, 31 May 2023 08:10:23 -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 94B2863D23 for ; Wed, 31 May 2023 15:10:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EF5E3C4339E; Wed, 31 May 2023 15:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685545822; bh=5lizdQwgDjzOGRTGSgGaTLL6eAMn99hHqlDNrARDpUk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=E41USqB9H6f/NtMA+9VU3/1/VbnKpMqBKUz3W5QQZ+/M5i0WlFNEC3xQ2KDAU6PEU cXr7n0Xy3Gbciq65TDQxyRhnh5V0bmRMCHf5HdW6FDjo3huHXGOvY2UQBi2PK7m/gg +NQHOQfe8HfjwVQqT4TvuFruAlM4Qg7mgMquQZS6MXsUieaHC2En8T4I3Iysxvbb+e 4E7Iz4EKXMcjcIrXwlRqc/WgD+NPnDob3XzDAxRbgMrNlsIM6dlHgeYgW/DTaoFW10 4TLIsvhFC7ZT2vfvtQ3pTUCo7x3ZU9CcT6NQJ9puqviZ/H8OhksUFkG6PGHRA5SGBn cWxnlDni2icsQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id D6AFDE21EC4; Wed, 31 May 2023 15:10:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH -fixes] riscv: Fix unused variable warning when BUILTIN_DTB is set From: patchwork-bot+linux-riscv@kernel.org Message-Id: <168554582187.8247.15042711269697974982.git-patchwork-notify@kernel.org> Date: Wed, 31 May 2023 15:10:21 +0000 References: <20230519131311.391960-1-alexghiti@rivosinc.com> In-Reply-To: <20230519131311.391960-1-alexghiti@rivosinc.com> To: Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, conor.dooley@microchip.com, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Fri, 19 May 2023 15:13:11 +0200 you wrote: > commit ef69d2559fe9 ("riscv: Move early dtb mapping into the fixmap > region") wrongly moved the #ifndef CONFIG_BUILTIN_DTB surrounding the pa > variable definition in create_fdt_early_page_table(), so move it back to > its right place to quiet the following warning: > > ../arch/riscv/mm/init.c: In function ‘create_fdt_early_page_table’: > ../arch/riscv/mm/init.c:925:12: warning: unused variable ‘pa’ [-Wunused-variable] > 925 | uintptr_t pa = dtb_pa & ~(PMD_SIZE - 1); > > [...] Here is the summary with links: - [-fixes] riscv: Fix unused variable warning when BUILTIN_DTB is set https://git.kernel.org/riscv/c/33d418da6f47 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html