next: fs/quota/quota_tree.c:674:8: error: variable 'blk' is uninitialized when used here [-Werror,-Wuninitialized]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I encountered the following build warnings/errors while compiling the x86_64
kernel on Linux next-20240212 tag with clang toolchain.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

fs/quota/quota_tree.c:674:8: error: variable 'blk' is uninitialized
when used here [-Werror,-Wuninitialized]
  674 |               blk);
      |                             ^~~
include/linux/quotaops .h:34:41: note: expanded from macro 'quota_error'
   34 |         __quota_error((sb), __func__, fmt , ## args)
      |                                                ^~~~
fs/quota/quota_tree.c:666:10: note: initialize the variable 'blk' to
silence this warning
  666 |         uint blk;
      |                 ^
      |                  = 0
1 error generated.

Links:
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2cFjnmDh1oofs8YfpPEBSMDvU9R/

As per the other reports, this has been fixed in Jan's tree.
https://lore.kernel.org/all/20240212131615.6jvnwweivkydv3j7@quack3/

--
Linaro LKFT
https://lkft.linaro.org




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux