Skip to content
Commit e7ab53bd authored by Lu Hongfei's avatar Lu Hongfei Committed by Greg Kroah-Hartman
Browse files

ksmbd: Replace the ternary conditional operator with min()

[ Upstream commit f65fadb0

 ]

It would be better to replace the traditional ternary conditional
operator with min() in compare_sids.

Signed-off-by: default avatarLu Hongfei <luhongfei@vivo.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 143da652
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