original_kernel/drivers/oprofile
Gustavo A. R. Silva 0a418cd117 oprofile: Replace zero-length array with flexible-array
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://github.com/KSPP/linux/issues/21

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2020-06-15 23:08:32 -05:00
..
buffer_sync.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
buffer_sync.h
cpu_buffer.c
cpu_buffer.h oprofile: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
event_buffer.c
event_buffer.h
nmi_timer_int.c
oprof.c
oprof.h
oprofile_files.c
oprofile_perf.c
oprofile_stats.c
oprofile_stats.h
oprofilefs.c
timer_int.c