diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-06-08 16:37:11 -0500 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-06-19 13:39:01 -0600 |
| commit | 68e4cd17e218971a2fd60c30fe14078dc0d8a68e (patch) | |
| tree | 3a622912f5399f3771fc60a1269f90146f68d403 /tools/perf/scripts/python | |
| parent | 67ee6940ae24163571a859634e100abad728aa38 (diff) | |
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 <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/20200608213711.GA22271@embeddedor
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions