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: e6aac8d98f56 ("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
..
2024-06-05 09:34:06 +02:00
2024-03-29 09:58:45 +01:00
2024-07-04 19:32:50 +02:00
2024-06-23 16:33:41 +02:00
2024-07-04 22:07:10 +02:00
2024-05-29 17:56:28 +02:00
2024-06-17 12:57:06 +02:00
2024-06-24 09:46:19 +02:00
2024-06-30 22:00:03 +02:00
2024-07-04 22:07:10 +02:00
2024-04-25 14:33:22 +02:00
2024-02-13 19:05:48 +01:00
2024-07-01 00:46:16 +02:00
2024-04-30 11:02:48 +02:00
2024-07-04 22:02:47 +02:00
2024-06-17 12:57:06 +02:00
2024-05-01 10:26:41 +02:00