Messages in this thread | | | Date | Wed, 8 Jul 2020 14:39:42 -0500 | From | "Gustavo A. R. Silva" <> | Subject | Re: [PATCH][next] s390/dasd: Use struct_size() helper |
| |
On Wed, Jul 08, 2020 at 11:13:08AM +0200, Stefan Haberland wrote: > Am 19.06.20 um 18:56 schrieb Gustavo A. R. Silva: > > Make use of the struct_size() helper instead of an open-coded version > > in order to avoid any potential type mistakes. Also, remove unnecessary > > variable _datasize_. > > > > This code was detected with the help of Coccinelle and, audited and > > fixed manually. > > > > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> > > Thanks for the patch. > Tested and applied.
Thanks, Stefan.
-- Gustavo
| |