diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2022-11-15 08:17:32 +0000 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-03-27 16:59:07 +0400 |
commit | 0203471df1d5242ab63692ddd9e95f37f0cddadc (patch) | |
tree | a6a30974b4513ea15373d10f73fda1b45a63f16c /lib/usercopy.c | |
parent | 197b6b60ae7bc51dd0814953c562833143b292aa (diff) | |
download | linux-0203471df1d5242ab63692ddd9e95f37f0cddadc.tar.gz linux-0203471df1d5242ab63692ddd9e95f37f0cddadc.tar.bz2 linux-0203471df1d5242ab63692ddd9e95f37f0cddadc.zip |
fs/ntfs3: Fix wrong cast in xattr.c
cpu_to_be32 and be32_to_cpu respectively return and receive
__be32, change the cast to the correct types.
Fixes the following sparse warnings:
fs/ntfs3/xattr.c:811:48: sparse: sparse: incorrect type in
assignment (different base types)
fs/ntfs3/xattr.c:901:34: sparse: sparse: cast to restricted __be32
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Daniel Pinto <danielpinto52@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions