Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18066159rwd; Tue, 27 Jun 2023 11:06:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7UucPKjR6Ouc9R1Yoa6fZD2NGVw/Q9V+12G3BQcHSwqoLKu+aZNFdSz3Oh8/vRqPql/TNq X-Received: by 2002:a05:6a20:3d14:b0:125:d5ad:6e10 with SMTP id y20-20020a056a203d1400b00125d5ad6e10mr9163142pzi.38.1687889160079; Tue, 27 Jun 2023 11:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687889160; cv=none; d=google.com; s=arc-20160816; b=oX0ZTQYOcIBJGiPhwRfapuoSNSLprr0Aa5v+i+ruqgmzcLbtW/cSoLxiGmi3PhVMlS J6SYSfN2ZbQuPp5vFY0B8MEZqyCInP3qDB1/KtfkkOa7N84aZM5NJlayeyRlizdMp53V BLwwji0VtsxgNdwMcSa+41yaDW/RIB5+3JXzwEGfjX2/N095tdmO3JynLsGclt1ThX7p 2mUtBhvWDoDe0ZZHtEEFG7ZPsbJjbMo/m3UoGHztUZHhSyJilrbbXh+t+l34Jc3Pcwxo ZE7mfmqMAc2VrD4NQyyzK8+vaet5qinrtt/FDBalsHrVQaq6m5U2IJSUMaTaFcLKz+kE GHCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GYT9R2Ep6Jly47+qyS7mwxNzrrpICWfj8ECNE2GzJO8=; fh=wHQJR3AUFrOHCqfMcvkY9/lr7UtIcuDn2IheCQ+wAbQ=; b=fnUZH60Zg4v8AAhu1F3ayKh63jKGxAKu4Wet5gnrUsxQYBrkzHvpiPPItCAKsTqj7A ymH+SqhtN2IumiV6ZzFU9rhl/PyhHNorCPVy8SVEL/VDTrvCKgJ11akk2miEaEWiSKR6 TvqDX0PjshhxD9jvGgiZRWkoSkmb/ESgQO7KP6uyONuhqaypThxJGY/RxbYovqCT8itF n8d1K16dRS9f48o2Tu9KaSsppQFj2pQi3plje5K5bgpoImR8MjavPr1q2nuN7jqwKW/U ejGBCkAxP59/HTjqx/b5DYSe1ldOjRbOWSw3OnyBR8otyVxHLGY3ZOK2XcNaD8/DKzKw XCFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hqstb6AI; 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 p16-20020a63c150000000b0054fd6863325si6505159pgi.726.2023.06.27.11.05.47; Tue, 27 Jun 2023 11:06:00 -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=Hqstb6AI; 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 S231254AbjF0Rm4 (ORCPT + 99 others); Tue, 27 Jun 2023 13:42:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjF0Rmy (ORCPT ); Tue, 27 Jun 2023 13:42:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E84EF271D; Tue, 27 Jun 2023 10:42:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 81C5B611E4; Tue, 27 Jun 2023 17:42:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A6E8C433C0; Tue, 27 Jun 2023 17:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687887772; bh=3zgdhuyrFC6SsBoe3wLBBlLUnpWWGaTZeYQukBm5EqY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hqstb6AI4dmTpmLp8UV1hINQMfhmB5TPUy+LICqcMMged5gjIrkoAa7f4x6Nb+gOd 9jtlPNIXII28U4IEse3/2HbILIBUlspD4Inu2lwfgIRTPI0WytXkTOLbemUIq7qNyy IninGIol3JiVuNEH7XThgZ7WvdeRxxtBJbNU3d8zeRvBD0oxOXLr5W8mdUETzF+LNJ t/bJ001R355xjR763WuxPIIcytoJALWgj7Toa3SzblqjOIwgSSPQ5k/bU4QDcGfGjB ASkOU8zwpC9c8O1JoAP69k6qqQ1v2WXZVPQfNYmsuuzmKvIUIRp50dsgufwqn7TfE7 LuXVEF4CWAIsA== Date: Tue, 27 Jun 2023 18:42:48 +0100 From: Conor Dooley To: Andrew Jones Cc: Conor Dooley , palmer@dabbelt.com, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Heiko Stuebner , Evan Green , Sunil V L , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 7/9] RISC-V: split riscv_fill_hwcap() in 3 Message-ID: <20230627-prevail-jurist-7de0b50f2eed@spud> References: <20230626-provable-angrily-81760e8c3cc6@wendy> <20230626-prevalent-heaviness-e35188de1225@wendy> <20230626-0176f6ea5768a6013a7aecdc@orel> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k6sMAfmx4wMaD7zR" Content-Disposition: inline In-Reply-To: <20230626-0176f6ea5768a6013a7aecdc@orel> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --k6sMAfmx4wMaD7zR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2023 at 06:17:51PM +0200, Andrew Jones wrote: > > +void __init riscv_fill_hwcap(void) > > +{ > > + struct device_node *node; > > + const char *isa; > > + char print_str[NUM_ALPHA_EXTS + 1]; > > + int i, j, rc; > > + unsigned long isa2hwcap[26] =3D {0}; > > + struct acpi_table_header *rhct; > > + acpi_status status; > > + unsigned int cpu; >=20 > I see all these unused variables get removed in the next patch, but they > should get removed here, lest they trigger some warnings and bots come > after you! Funnily enough, I'd pushed this out for LKP and it never complained about the unused variables - but my own stuff on patchwork did. --k6sMAfmx4wMaD7zR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJsflwAKCRB4tDGHoIJi 0lOkAQDCTj05VCKYILzRvRfUnZcGzqw9r9bdBbez5rNRofNHXgD/RSA5WAwLyGC6 k1l4a7QDIvTEug4W7pYln2cxrAAEPA4= =RLJs -----END PGP SIGNATURE----- --k6sMAfmx4wMaD7zR--