[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YYMlBCuhyqgdVHiC@google.com>
Date: Thu, 4 Nov 2021 09:10:44 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Namjae Jeon <linkinjeon@...nel.org>
Cc: Guo Zhengkui <guozhengkui@...o.com>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Steve French <sfrench@...ba.org>,
Hyunchul Lee <hyc.lee@...il.com>, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...o.com
Subject: Re: [PATCH] ksmbd: fix flexible_array.cocci warnings
On (21/11/03 22:51), Namjae Jeon wrote:
>
> 2021-11-03 22:19 GMT+09:00, Guo Zhengkui <guozhengkui@...o.com>:
> > Fix following coccicheck warning:
> > ./fs/ksmbd/transport_rdma.c:201:20-27: WARNING use flexible-array
> > member instead.
> Is there only one here? It would be better to change them together in
> this patch.
I guess I see more than one
fs/ksmbd/ksmbd_netlink.h: __u8 spnego_blob[0]; /*
fs/ksmbd/ntlmssp.h: __u8 Content[0];
fs/ksmbd/ntlmssp.h: char DomainString[0];
fs/ksmbd/ntlmssp.h: char UserString[0];
fs/ksmbd/smb2pdu.h: __u8 Buffer[0];
fs/ksmbd/smb2pdu.h: __u8 Buffer[0];
fs/ksmbd/smb2pdu.h: char FileName[0]; /* New name to be assigned */
fs/ksmbd/smb2pdu.h: char FileName[0]; /* Name to be assigned to new link */
fs/ksmbd/smb2pdu.h: char FileName[0];
fs/ksmbd/smb2pdu.h: char StreamName[0];
fs/ksmbd/transport_rdma.c: struct scatterlist sg_list[0];
Powered by blists - more mailing lists