回复: [PATCH] fs: smb: Fix unsigned expression compared with zero in ksmbd_vfs_stream_write()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you. I will Modify it
-----邮件原件-----
发件人: Markus Elfring <Markus.Elfring@xxxxxx> 
发送时间: 2023年7月6日 2:51
收件人: 王明-软件底层技术部 <machel@xxxxxxxx>; linux-cifs@xxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx; Namjae Jeon <linkinjeon@xxxxxxxxxx>; Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>; Steve French <sfrench@xxxxxxxxx>; Tom Talpey <tom@xxxxxxxxxx>
抄送: opensource.kernel <opensource.kernel@xxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>
主题: Re: [PATCH] fs: smb: Fix unsigned expression compared with zero in ksmbd_vfs_stream_write()

> The return value of the ksmbd_vfs_getcasexattr() is long.

The function “ksmbd_vfs_getcasexattr” is defined with the return type “long”.


> However, the return value is being assigned to an unsignef long 
> variable 'v_len',so making 'v_len' to long. …

Please avoid further typos for an improved change description.

Regards,
Markus




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux