diff options
| author | Philipp Hahn <phahn-oss@avm.de> | 2026-03-03 11:59:14 +0100 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-03-04 19:23:59 +0900 |
| commit | 3dce5bb82c97fc2ac28d80d496120a6525ce3fb7 (patch) | |
| tree | c5073f693bb09069049566c738cd375e2813125d /include/asm-arm/hardware/git@git.tavy.me:linux.git | |
| parent | 81440a740d385a992b0652fbd4a5c71edd6f27d2 (diff) | |
exfat: Fix bitwise operation having different size
cpos has type loff_t (long long), while s_blocksize has type u32. The
inversion wil happen on u32, the coercion to s64 happens afterwards and
will do 0-left-paddding, resulting in the upper bits getting masked out.
Cast s_blocksize to loff_t before negating it.
Found by static code analysis using Klocwork.
Signed-off-by: Philipp Hahn <phahn-oss@avm.de>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/asm-arm/hardware/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
