[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200722.181223.1143301659120025502.davem@davemloft.net>
Date: Wed, 22 Jul 2020 18:12:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavoars@...nel.org
Cc: rmody@...vell.com, skalluru@...vell.com, kuba@...nel.org,
GR-Linux-NIC-Dev@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] bna: bfi.h: Avoid the use of one-element array
From: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Date: Wed, 22 Jul 2020 13:50:24 -0500
> One-element arrays are being deprecated[1]. Replace the one-element
> array with a simple value type 'u8 rsvd'[2], once it seems this is
> just a placeholder for alignment.
>
> [1] https://github.com/KSPP/linux/issues/79
> [2] https://github.com/KSPP/linux/issues/86
>
> Tested-by: kernel test robot <lkp@...el.com>
> Link: https://github.com/GustavoARSilva/linux-hardening/blob/master/cii/0-day/bfi-20200718.md
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists