Re: [PATCH] fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()

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

 



On Sun, 19 Jan 2025 10:59:47 +0800, Su Hui wrote:
> Clang static checker(scan-build) warning:
> fs/stat.c:287:21: warning: The left expression of the compound assignment is
> an uninitialized value. The computed value will also be garbage.
>   287 |                 stat->result_mask |= STATX_MNT_ID_UNIQUE;
>       |                 ~~~~~~~~~~~~~~~~~ ^
> fs/stat.c:290:21: warning: The left expression of the compound assignment is
> an uninitialized value. The computed value will also be garbage.
>   290 |                 stat->result_mask |= STATX_MNT_ID;
> 
> [...]

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/1] fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()
      https://git.kernel.org/vfs/vfs/c/7984cbe223e0




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux