Re: [PATCH v2] ksmbd: Replace one-element arrays with flexible-array members
From: Thorsten Blum
Date: Thu Sep 19 2024 - 05:13:42 EST
Hi Namjae,
On 22. Aug 2024, at 14:01, Namjae Jeon <linkinjeon@xxxxxxxxxx> wrote:
> On Wed, Aug 21, 2024 at 4:15 AM Thorsten Blum <thorsten.blum@xxxxxxxxxx> wrote:
>>
>> Replace the deprecated one-element arrays with flexible-array members
>> in the structs copychunk_ioctl_req and smb2_ea_info_req.
>>
>> There are no binary differences after this conversion.
>>
>> Link: https://github.com/KSPP/linux/issues/79
>> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
>> ---
>> Changes in v2:
>> - Use <= instead of < and +1 as suggested by Namjae Jeon and Tom Talpey
>> - Link to v1: https://lore.kernel.org/linux-kernel/20240818162136.268325-2-thorsten.blum@xxxxxxxxxx/
> Applied it to #ksmbd-for-next-next.
> Thanks!
I just noticed this patch never made it to linux-next and I can't find
it anywhere else (also not in #ksmbd-for-next-next).
Maybe it got lost because it has the same subject and a very similar
commit message as [1] (I submitted both around the same time)?
Thanks,
Thorsten
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c525dddbee71880e654ad44f3917787a4f6042c