[REGRESSION] mainline/master: (build) variable 'old_size' is uninitialized when used here [-Werror,-Wuni...
KernelCI bot <[email protected]>
| Newsgroups | dev.linux.lists.regressions |
|---|---|
| Message-ID | <177913434403.2484.8283537970935500940@330cfa3079ca> |
Hello, New build issue found on mainline/master: --- variable 'old_size' is uninitialized when used here [-Werror,-Wuninitialized] in fs/smb/client/cifsfs.o (fs/smb/client/cifsfs.c) [logspec:kbuild,kbuild.compiler.error] --- - dashboard: https://d.kernelci.org/i/maestro:8fef554699226f88449edfc56be31812d3edd327 - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git - commit HEAD: 4bf5d3da79c48e1df4bab82c9680c53adeff7820 Please include the KernelCI tag when submitting a fix: Reported-by: kernelci.org bot <[email protected]> Log excerpt: ===================================================== /tmp/kci/linux/fs/smb/client/cifsfs.c:1390:29: error: variable 'old_size' is uninitialized when used here [-Werror,-Wuninitialized] 1390 | if (rc == 0 && new_size > old_size) { | ^~~~~~~~ /tmp/kci/linux/fs/smb/client/cifsfs.c:1307:37: note: initialize the variable 'old_size' to silence this warning 1307 | unsigned long long i_size, old_size, new_size, zero_point; | ^ | = 0 /tmp/kci/linux/fs/smb/client/cifsfs.c:1375:13: error: variable 'zero_point' is uninitialized when used here [-Werror,-Wuninitialized] 1375 | if (fend > zero_point) | ^~~~~~~~~~ /tmp/kci/linux/fs/smb/client/cifsfs.c:1307:59: note: initialize the variable 'zero_point' to silence this warning 1307 | unsigned long long i_size, old_size, new_size, zero_point; | ^ | = 0 2 errors generated. ===================================================== # Builds where the incident occurred: ## defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (arm): - compiler: clang-21 - config: None - dashboard: https://d.kernelci.org/build/maestro:6a0b542b744d1c1da0198902 #kernelci issue maestro:8fef554699226f88449edfc56be31812d3edd327 -- This is an experimental report format. Please send feedback in! Talk to us at [email protected] Made with love by the KernelCI team - https://kernelci.org