summaryrefslogtreecommitdiffstats
path: root/Documentation/translations
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-08 23:37:11 +0200
committerJonathan Corbet <corbet@lwn.net>2020-06-19 21:39:01 +0200
commit68e4cd17e218971a2fd60c30fe14078dc0d8a68e (patch)
tree3a622912f5399f3771fc60a1269f90146f68d403 /Documentation/translations
parentdocs/zh_CN: update sysfs.txt about show() usage (diff)
downloadlinux-68e4cd17e218971a2fd60c30fe14078dc0d8a68e.tar.xz
linux-68e4cd17e218971a2fd60c30fe14078dc0d8a68e.zip
docs: deprecated.rst: Add zero-length and one-element arrays
Add zero-length and one-element arrays to the list. While I continue replacing zero-length and one-element arrays with flexible-array members, I need a reference to point people to, so they don't introduce more instances of such arrays. And while here, add a note to the "open-coded arithmetic in allocator arguments" section, on the use of struct_size() and the arrays-to-deprecate mentioned here. Co-developed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Acked-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20200608213711.GA22271@embeddedor Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations')
0 files changed, 0 insertions, 0 deletions