Thread (3 messages) 3 messages, 2 authors, 2021-03-09

Re: [PATCH] tty: max310x: fix flexible_array.cocci warnings

From: Julia Lawall <julia.lawall@inria.fr>
Date: 2021-03-09 14:12:09
Also in: lkml, oe-kbuild-all


On Tue, 9 Mar 2021, Greg Kroah-Hartman wrote:
On Mon, Mar 08, 2021 at 06:47:19PM +0100, Julia Lawall wrote:
quoted
From: kernel test robot <redacted>

Zero-length and one-element arrays are deprecated, see
Documentation/process/deprecated.rst
Flexible-array members should be used instead.

Generated by: scripts/coccinelle/misc/flexible_array.cocci

Fixes: 7b36c1398fb6 ("coccinelle: misc: add flexible_array.cocci script")
This can't be true, as the driver code did not change for that commit :(

Can you provide the commit where the driver itself caused the problem?
Sorry, 0-day seems to have a problem for the subject lines in some cases,
and it seems that it has a problem for the Fixes lines as well.  I will
find the proper one.

julia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help