]> exis.tech > repos - linux.git/commit
mtd: rawnand: ndfc: fix gcc uninitialized var
authorRosen Penev <rosenp@gmail.com>
Sun, 14 Jun 2026 06:31:52 +0000 (23:31 -0700)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 29 Jun 2026 14:38:38 +0000 (16:38 +0200)
commitcceca8cb776b03e83985578f84bd730c30d57f70
treeea6d5828c87ea9eac18d3156dbbbe0bc46cf00c7
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482
mtd: rawnand: ndfc: fix gcc uninitialized var

Now that this can be built with COMPILE_TEST, an unassigned variable was
found. Set to 0 to fix the W=1 error under GCC.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202606141301.iyVdFgl7-lkp@intel.com/
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/ndfc.c