[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175680090336.2185785.11760207261424041452.b4-ty@kernel.org>
Date: Tue, 02 Sep 2025 09:15:03 +0100
From: Lee Jones <lee@...nel.org>
To: Charles Keepax <ckeepax@...nsource.cirrus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>, Lee Jones <lee@...nel.org>,
Nathan Chancellor <nathan@...nel.org>, Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
linux-sound@...r.kernel.org, patches@...nsource.cirrus.com,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: (subset) [PATCH] mfd: madera: work around false-positive
-Wininitialized warning
On Thu, 07 Aug 2025 09:19:28 +0200, Arnd Bergmann wrote:
> clang-21 warns about one uninitialized variable getting dereferenced
> in madera_dev_init:
>
> drivers/mfd/madera-core.c:739:10: error: variable 'mfd_devs' is uninitialized when used here [-Werror,-Wuninitialized]
> 739 | mfd_devs, n_devs,
> | ^~~~~~~~
> drivers/mfd/madera-core.c:459:33: note: initialize the variable 'mfd_devs' to silence this warning
> 459 | const struct mfd_cell *mfd_devs;
> | ^
> | = NULL
>
> [...]
Applied, thanks!
[1/1] mfd: madera: work around false-positive -Wininitialized warning
commit: 3105933c2cf5e2e1908d31500fff72e28e0d94bf
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists