[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200929.132859.1281877426049965614.davem@davemloft.net>
Date: Tue, 29 Sep 2020 13:28:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavoars@...nel.org
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] fddi/skfp: Avoid the use of one-element array
From: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Date: Tue, 29 Sep 2020 08:27:51 -0500
> One-element arrays are being deprecated[1]. Replace the one-element array
> with a simple object of type u_char: 'u_char rm_pad1'[2], once it seems
> this is just a placeholder for padding.
>
> [1] https://www.kernel.org/doc/html/v5.9-rc1/process/deprecated.html#zero-length-and-one-element-arrays
> [2] https://github.com/KSPP/linux/issues/86
>
> Built-tested-by: kernel test robot <lkp@...el.com>
> Link: https://lore.kernel.org/lkml/5f72c23f.%2FkPBWcZBu+W6HKH4%25lkp@intel.com/
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists