[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YEeAfMKU24WIVLA+@kroah.com>
Date: Tue, 9 Mar 2021 15:04:44 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Julia Lawall <julia.lawall@...ia.fr>
Cc: Jiri Slaby <jirislaby@...nel.org>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, Denis Efremov <efremov@...ux.com>,
kbuild-all@...org
Subject: Re: [PATCH] tty: max310x: fix flexible_array.cocci warnings
On Mon, Mar 08, 2021 at 06:47:19PM +0100, Julia Lawall wrote:
> From: kernel test robot <lkp@...el.com>
>
> 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?
thanks,
greg k-h
Powered by blists - more mailing lists