7b36c1398f
One-element and zero-length arrays are deprecated [1]. Kernel
code should always use "flexible array members" instead, except
for existing uapi definitions.
The script warns about one-element and zero-length arrays in structs.
[1] commit
|
||
---|---|---|
.. | ||
add_namespace.cocci | ||
array_size_dup.cocci | ||
array_size.cocci | ||
badty.cocci | ||
boolconv.cocci | ||
boolinit.cocci | ||
boolreturn.cocci | ||
bugon.cocci | ||
cond_no_effect.cocci | ||
cstptr.cocci | ||
doubleinit.cocci | ||
excluded_middle.cocci | ||
flexible_array.cocci | ||
ifaddr.cocci | ||
ifcol.cocci | ||
irqf_oneshot.cocci | ||
newline_in_nl_msg.cocci | ||
noderef.cocci | ||
of_table.cocci | ||
orplus.cocci | ||
returnvar.cocci | ||
semicolon.cocci | ||
uninitialized_var.cocci | ||
warn.cocci |