No description
Find a file
Gustavo A. R. Silva a38283da05 printk: ringbuffer: Replace zero-length array with flexible-array member
There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2020-10-30 16:57:42 -05:00
arch
block
certs
crypto
Documentation
drivers mei: hw: Replace zero-length array with flexible-array member 2020-10-30 16:57:41 -05:00
fs fs: Replace zero-length array with flexible-array member 2020-10-29 17:22:59 -05:00
include net/mlx5: Replace zero-length array with flexible-array member 2020-10-30 16:57:42 -05:00
init
ipc
kernel printk: ringbuffer: Replace zero-length array with flexible-array member 2020-10-30 16:57:42 -05:00
lib
LICENSES
mm
net net/smc: Replace zero-length array with flexible-array member 2020-10-30 16:57:42 -05:00
samples
scripts
security ima: Replace zero-length array with flexible-array member 2020-10-29 17:22:59 -05:00
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.