YANG LI e54fd0716c cifs: style: replace one-element array with flexible-array
There is a regular need in the kernel to provide a way to declare
having a dynamically sized set of trailing elements in a structure.
Kernel code should always use "flexible array members"[1] for these
cases. The older style of one-element or zero-length arrays should
no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/
    deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: YANG LI <abaci-bugfix@linux.alibaba.com>
Reported-by: Abaci <abaci@linux.alibaba.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-01-13 13:36:45 -06:00
..
2020-10-22 12:17:52 -05:00
2020-06-01 00:10:18 -05:00
2020-12-13 19:12:07 -06:00
2020-06-01 00:10:18 -05:00
2021-01-13 12:55:29 -06:00
2020-07-09 10:06:52 -05:00
2020-12-14 09:16:22 -06:00
2020-08-02 18:00:25 -05:00
2007-06-05 18:30:44 +00:00
2020-10-19 15:11:11 -05:00
2021-01-13 12:55:33 -06:00
2019-01-24 09:37:33 -06:00