[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200625122130.GB7638@osiris>
Date: Thu, 25 Jun 2020 14:21:30 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Vasily Gorbik <gor@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ibm.com>,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH][next] s390: appldata: Use struct_size() helper
On Wed, Jun 17, 2020 at 04:29:30PM -0500, Gustavo A. R. Silva wrote:
> Make use of the struct_size() helper instead of an open-coded version
> in order to avoid any potential type mistakes.
>
> This code was detected with the help of Coccinelle and, audited and
> fixed manually.
>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
> ---
> arch/s390/appldata/appldata_os.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists