[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200708193942.GJ11533@embeddedor>
Date:   Wed, 8 Jul 2020 14:39:42 -0500
From:   "Gustavo A. R. Silva" <gustavoars@...nel.org>
To:     Stefan Haberland <sth@...ux.ibm.com>
Cc:     Jan Hoeppner <hoeppner@...ux.ibm.com>,
        Heiko Carstens <heiko.carstens@...ibm.com>,
        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/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@...nel.org>
> 
> Thanks for the patch.
> Tested and applied.
Thanks, Stefan.
--
Gustavo
Powered by blists - more mailing lists
 
