From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2ACD0326D78; Wed, 20 Aug 2025 16:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755706991; cv=none; b=YFvyoGbTvVBghUOl8NaNGg5sNM+WpbEXrOzhWhS4Ftz/dzWJiUISYPrG0c877/0/wcRE2JUlUGgv868DqdwBw5JlnPUg9cDYlvE4ppji5MgmiujzlI7bEbHLAthr2Cmj8TMU86+xtzlIFLFpf1flNU7jM5ZiC9VvWVH2qJaLf68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755706991; c=relaxed/simple; bh=I18cqUGx7Hdm9LGLBpdG8guD9EJ88DA1sUAC0K19mog=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a2R3Oa3aZ6JYdmNn9l2jYnJYoTyn/hPy1ItcVpV9YCceu5OuQ54/STp6JeTx+rCHyauDdd0kQ3p5qjU7dqzKSi/mjii4PuEXUuxK0YpZEuxJLdI509YKIwN5Gb1DMxNPhfNBcjAK281lZhXDxQ86xj43S8QzKQJgxFHJwK5Ct3k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L82BWB+3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L82BWB+3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94BE4C4CEE7; Wed, 20 Aug 2025 16:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755706989; bh=I18cqUGx7Hdm9LGLBpdG8guD9EJ88DA1sUAC0K19mog=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L82BWB+3EmQFCpuEB7JgXu8iyQqyZTs29OYY5Gip+zdbMM8ls86doHd4p9o/4Tbsh FmFy1RLQOceL+wp13UkDnwUCfen0Pj/j/NzWtnexJ6ukfDOo8JdUye/TB48fp9aZac JKysFgprnNK6SkDmQaXKOOWGOg4/Cu5OduDnsT0kbVMXVkbTyhLzclMimDaiLXolAU 6OUZigQ3TQQawW2USdUokcKOZQ6xlBzNzCYaI7CmP/zG/V2B+ZFuQoQT1T+CP9lnnD 1CSIxd/Bm/6N+GyCM07hCRIMyB5RRiJm4zBjZvZrdNqCuU5n6Nf3FS3Ou3CdsnhT96 rco3i/kpGnRFQ== Date: Wed, 20 Aug 2025 09:23:04 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: open list , lkft-triage@lists.linaro.org, Linux Regressions , clang-built-linux , Nick Desaulniers , Dan Carpenter , Arnd Bergmann , Ben Copeland , Anders Roxell Subject: Re: next-20250819: sdhci-cadence.c error variable 'hrs37_mode' is uninitialized when used here [-Werror,-Wuninitialized] Message-ID: <20250820162304.GD3805667@ax162> References: Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Naresh, On Wed, Aug 20, 2025 at 06:43:51PM +0530, Naresh Kamboju wrote: > The following build warnings / errors noticed with arm64 defconfig > and x86 allyesconfig with clang-20 and clang-nightly toolchains. > > Regression Analysis: > - New regression? yes > - Reproducibility? yes > > Build regression: next-20250819 sdhci-cadence.c error variable > 'hrs37_mode' is uninitialized when used here [-Werror,-Wuninitialized] > > Reported-by: Linux Kernel Functional Testing > > ## Build log > drivers/mmc/host/sdhci-cadence.c:297:9: error: variable 'hrs37_mode' > is uninitialized when used here [-Werror,-Wuninitialized] > 297 | writel(hrs37_mode, hrs37_reg); > | ^~~~~~~~~~ > drivers/mmc/host/sdhci-cadence.c:291:16: note: initialize the variable > 'hrs37_mode' to silence this warning > 291 | u32 hrs37_mode; > | ^ > | = 0 Thanks for the report. I sent a fix for this yesterday: https://lore.kernel.org/20250819-mmc-sdhci-cadence-fix-uninit-hrs37_mode-v1-1-94aa2d0c438a@kernel.org/ Cheers, Nathan