[PATCH] mtd: rawnand: placate "$VARIABLE is used uninitialized" warnings

Miquel Raynal miquel.raynal at bootlin.com
Mon Nov 7 08:20:04 PST 2022

On Mon, 2022-10-24 at 09:20:26 UTC, Adam Borowski wrote:
> The compiler is not smart enough to notice that it's impossible for
> them to be actually used uninitialized.  Which exact variables trip
> here varies depending on random surrounding code; none triggered in
> 6.1-rc1 but 6.1-rc2 fails on three of these five, despite variables
> declared in the very same line having identical flow.
> Signed-off-by: Adam Borowski <kilobyte at angband.pl>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.


More information about the linux-mtd mailing list