diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-09-01 03:09:49 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-09-09 19:37:49 +0200 |
commit | 17dca0502314fa4855fae269dc86a1ce840a4d1a (patch) | |
tree | 49d4a558fbdd5aaf30a69910669b9eb817cbae93 /Documentation/vm | |
parent | Documentation: submit-checklist: add clean builds for new Documentation (diff) | |
download | linux-17dca0502314fa4855fae269dc86a1ce840a4d1a.tar.xz linux-17dca0502314fa4855fae269dc86a1ce840a4d1a.zip |
docs: deprecated.rst: Update zero-length/one-element arrays section
Update information in the zero-length and one-element arrays section
and illustrate how to make use of the new flex_array_size() helper,
together with struct_size() and a flexible-array member.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200901010949.GA21398@embeddedor
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/vm')
0 files changed, 0 insertions, 0 deletions