lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250820162304.GD3805667@ax162>
Date: Wed, 20 Aug 2025 09:23:04 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>, lkft-triage@...ts.linaro.org,
	Linux Regressions <regressions@...ts.linux.dev>,
	clang-built-linux <llvm@...ts.linux.dev>,
	Nick Desaulniers <ndesaulniers@...gle.com>,
	Dan Carpenter <dan.carpenter@...aro.org>,
	Arnd Bergmann <arnd@...db.de>,
	Ben Copeland <benjamin.copeland@...aro.org>,
	Anders Roxell <anders.roxell@...aro.org>
Subject: Re: next-20250819: sdhci-cadence.c error variable 'hrs37_mode' is
 uninitialized when used here [-Werror,-Wuninitialized]

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 <lkft@...aro.org>
> 
> ## 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ