Skip to content
Commit d782f42e authored by Wang Ming's avatar Wang Ming Committed by Greg Kroah-Hartman
Browse files

ksmbd: Fix unsigned expression compared with zero

[ Upstream commit 0266a2f7

 ]

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: default avatarWang Ming <machel@vivo.com>
Acked-by: default avatarTom Talpey <tom@talpey.com>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 48cc4938
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment