Messages in this thread | | | Date | Wed, 24 Jun 2020 12:57:10 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc() |
| |
On 23-06-20, 22:56, Joe Perches wrote: > On Wed, 2020-06-24 at 11:25 +0530, Vinod Koul wrote: > > On 19-06-20, 17:43, 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. > > > > > > Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 > > Is this odd tag really useful?
Not at all :)
-- ~Vinod
| |