From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0E34C83F18 for ; Wed, 30 Aug 2023 18:44:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238776AbjH3SjK (ORCPT ); Wed, 30 Aug 2023 14:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245555AbjH3Pdr (ORCPT ); Wed, 30 Aug 2023 11:33:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A008113 for ; Wed, 30 Aug 2023 08:33:45 -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 9A6D86108C for ; Wed, 30 Aug 2023 15:33:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F7EBC433C8; Wed, 30 Aug 2023 15:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693409624; bh=gzcbRtMaT4maj5dYPN1BKdQWxeis9Z2fvcWGGIyz/Jk=; h=Date:From:To:Cc:Subject:From; b=eYGOdS++mCbvQtDJw53dk31OQCUcdshDJwG+YBA3lwIDtL6hnWMkyh5tYVTMuTQ0z nxfF7FHvF4la/rs/jbA7PpwaV++Zdo7NOrVF+845gE6qySIMl3Rh6ScxCDZ9HHwpAb ITDsiHEu5VKnziZEnRYSQ2OkTvNXebFM2fZfH7cx/19NzwMkgctDDbL/ibDOXujo4A 2x/5I9lgcUlnxxFcQof/BD+SOrzJB2d4pUzU4MSfRwPn1E1sEY7Fii+XYBTgCbybGb 6pxmitgyqH286aLvwDQoNTq8oQTd5x9IS82AYqSU8QREvL/A51gm6xT8D34ZBdWnKW UwMHgicxcyYoQ== Date: Wed, 30 Aug 2023 08:33:42 -0700 From: Nathan Chancellor To: Greg Kroah-Hartman , Sasha Levin Cc: stable@vger.kernel.org, llvm@lists.linux.dev, Nick Desaulniers , Michael Ellerman Subject: Apply 9451c79bc39e610882bdd12370f01af5004a3c4f to linux-5.4.y Message-ID: <20230830153342.GA888898@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Greg and Sasha, Please consider applying commit 9451c79bc39e ("powerpc/pmac/smp: Avoid unused-variable warnings") to 5.4, as it resolves a build failure that we see building ppc64_guest_defconfig with clang due to arch/powerpc compiling with -Werror by default: arch/powerpc/platforms/powermac/smp.c:664:26: error: unused variable 'core99_l2_cache' [-Werror,-Wunused-variable] 664 | volatile static long int core99_l2_cache; | ^~~~~~~~~~~~~~~ arch/powerpc/platforms/powermac/smp.c:665:26: error: unused variable 'core99_l3_cache' [-Werror,-Wunused-variable] 665 | volatile static long int core99_l3_cache; | ^~~~~~~~~~~~~~~ 2 errors generated. I have verified that it applies cleanly and does not appear to have any direct follow up fixes, although commit a4037d1f1fc4 ("powerpc/pmac/smp: Drop unnecessary volatile qualifier") was in the same area around the same time so maybe it makes sense to take that one as well but I don't think it has any functional impact. Cheers, Nathan