diff options
author | Wang Ming <[email protected]> | 2023-07-04 15:40:47 +0800 |
---|---|---|
committer | Steve French <[email protected]> | 2023-07-12 08:58:25 -0500 |
commit | 0266a2f791294e0b4ba36f4a1d89b8615ea3cac0 (patch) | |
tree | b3a6f9542fcb13a9d2e5306975df8ca0f4d4cddb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
ksmbd: Fix unsigned expression compared with zero
The return value of the ksmbd_vfs_getcasexattr() is signed.
However, the return value is being assigned to an unsigned
variable and subsequently recasted, causing warnings. Use
a signed type.
Signed-off-by: Wang Ming <[email protected]>
Acked-by: Tom Talpey <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions