diff options
author | Hubert Jasudowicz <hubert.jasudowicz@gmail.com> | 2021-02-25 17:21:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-26 09:41:03 -0800 |
commit | c1f26493ed7f363c63e0e9d91e50d4db26df6603 (patch) | |
tree | eb96df0ca61e7ae12a92569f9ddb548ff4ff2d4c /kernel/groups.c | |
parent | c131bd0b5448bb577b7a9ed48c4e528807e8d5af (diff) |
groups: use flexible-array member in struct group_info
Replace zero-size array with flexible array member, as recommended by
the docs.
Link: https://lkml.kernel.org/r/155995eed35c3c1bdcc56e69d8997c8e4c46740a.1611620846.git.hubert.jasudowicz@gmail.com
Signed-off-by: Hubert Jasudowicz <hubert.jasudowicz@gmail.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Micah Morton <mortonm@chromium.org>
Cc: Gao Xiang <xiang@kernel.org>
Cc: Michael Kelley <mikelley@microsoft.com>
Cc: Thomas Cedeno <thomascedeno@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions