[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202403011245.3BDA347@keescook>
Date: Fri, 1 Mar 2024 12:45:52 -0800
From: Kees Cook <keescook@...omium.org>
To: David Lechner <dlechner@...libre.com>
Cc: Mark Brown <broonie@...nel.org>,
Michael Hennerich <michael.hennerich@...log.com>,
Nuno Sá <nuno.sa@...log.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH 3/3] spi: axi-spi-engine: use struct_size() macro
On Fri, Mar 01, 2024 at 02:25:20PM -0600, David Lechner wrote:
> This makes use of the struct_size() macro to calculate the size of the
> struct axi_spi_engine when allocating it.
>
> Suggested-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Signed-off-by: David Lechner <dlechner@...libre.com>
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists