Skip to content
Commit 8763a30b authored by Kees Cook's avatar Kees Cook Committed by Jonathan Corbet
Browse files

docs: deprecated.rst: Add note about DECLARE_FLEX_ARRAY() usage



There wasn't any mention of when/where DECLARE_FLEX_ARRAY() should be
used, so add the rationale and an example to the deprecation docs.

Suggested-by: default avatarVincent Mailhol <mailhol.vincent@wanadoo.fr>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230106200600.never.735-kees@kernel.org


[jc: minor wording tweaks]
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 5a37deab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment