[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKYAXd96UE4T91ODspie4d6jr0FAPN13ke7XehXk5Qv6LcXfSQ@mail.gmail.com>
Date: Thu, 15 Jun 2023 15:01:06 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Wang Ming <machel@...o.com>
Cc: Steve French <sfrench@...ba.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Tom Talpey <tom@...pey.com>, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH v1] fs:smb:server:Fix unsigned compared with less than zero
2023-06-14 21:27 GMT+09:00, Wang Ming <machel@...o.com>:
> The return value of the ksmbd_vfs_getcasexattr() is long.
> However, the return value is being assigned to an unsignef
> long variable 'v_len',so making 'v_len' to long.
>
> silence the warning:
> ./fs/smb/server/vfs.c:433:6-11:WARNING: Unsigned expression compared
> with zero: v_len > 0
>
> Signed-off-by: Wang Ming <machel@...o.com>
Acked-by: Namjae Jeon <linkinjeon@...nel.org>
Thanks!
Powered by blists - more mailing lists