build failure of next-20220914 due to 64c11570d64d ("f2fs: fix to do sanity check on summary info")

From: Sudip Mukherjee (Codethink)
Date: Wed Sep 14 2022 - 07:55:14 EST


Hi All,

The builds of arm64 allmodconfig with clang have failed to build
next-20220914 with the error:

fs/f2fs/recovery.c:509:17: error: variable 'ino' is uninitialized when used here [-Werror,-Wuninitialized]
ofs_in_node, ino, nid, max_addrs);
^~~
fs/f2fs/f2fs.h:2376:35: note: expanded from macro 'f2fs_err'
f2fs_printk(sbi, KERN_ERR fmt, ##__VA_ARGS__)
^~~~~~~~~~~
fs/f2fs/recovery.c:475:11: note: initialize the variable 'ino' to silence this warning
nid_t ino, nid;
^
= 0
1 error generated.

git bisect pointed to 64c11570d64d ("f2fs: fix to do sanity check on summary info").

I will be happy to test any patch or provide any extra log if needed.


--
Regards
Sudip