diff options
author | Daniel Pinto <[email protected]> | 2022-11-15 08:17:32 +0000 |
---|---|---|
committer | Konstantin Komarov <[email protected]> | 2023-03-27 16:59:07 +0400 |
commit | 0203471df1d5242ab63692ddd9e95f37f0cddadc (patch) | |
tree | a6a30974b4513ea15373d10f73fda1b45a63f16c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 197b6b60ae7bc51dd0814953c562833143b292aa (diff) |
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 <[email protected]>
Signed-off-by: Daniel Pinto <[email protected]>
Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions