Messages in this thread | | | Date | Thu, 25 Jun 2020 14:21:30 +0200 | From | Heiko Carstens <> | 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@kernel.org> > --- > arch/s390/appldata/appldata_os.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-)
Applied, thanks.
| |