openwrt/target/linux/mediatek
Qingfang Deng 2ded54972e mediatek: fit: fix use of uninitialized variable
When building the kernel with -Wmaybe-uninitialized, GCC reports this
warning:

block/partitions/fit.c: In function 'parse_fit_partitions':
block/partitions/fit.c:164:3: warning: 'images' may be used uninitialized in this function [-Wmaybe-uninitialized]
  164 |   printk(KERN_ERR "FIT: Cannot find %s node: %d\n", FIT_CONFS_PATH, images);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It appears to be a copy paste error. It's the "config" variable that is
supposed to be printed.

Fixes: e6aac8d98f ("image: add support for building FIT image with filesystem")
Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
2024-07-07 20:59:48 +08:00
..
base-files mediatek: filogic: add support for Cudy M3000 v1 2024-05-11 17:18:51 +02:00
dts mediatek: filogic: add support for TP-LINK RE6000XD 2024-07-04 22:14:32 +02:00
files mediatek: fit: fix use of uninitialized variable 2024-07-07 20:59:48 +08:00
files-6.6 treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
filogic mediatek: filogic: openwrt,one: remove unneeded caldata extraction 2024-07-05 03:52:48 +01:00
image mediatek: filogic: add support for TP-LINK RE6000XD 2024-07-04 22:14:32 +02:00
mt7622 mediatek: switch to Linux 6.6 2024-05-03 21:32:30 +01:00
mt7623 kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
mt7629 mediatek: switch to Linux 6.6 2024-05-03 21:32:30 +01:00
patches-6.6 kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
Makefile mediatek: switch to Linux 6.6 2024-05-03 21:32:30 +01:00
modules.mk mediatek: mt7623: build mt6577_auxadc driver into kernel 2022-12-05 23:14:36 +00:00