Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-07-15 Thread Gustavo A. R. Silva
On 7/15/20 01:21, Vinod Koul wrote: > On 10-07-20, 13:25, Gustavo A. R. Silva wrote: >> Hi all, >> >> Friendly ping: who can take this, please? > > Applied now > Thanks, Vinod. -- Gustavo

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-07-14 Thread Vinod Koul
On 10-07-20, 13:25, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping: who can take this, please? Applied now -- ~Vinod

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-07-10 Thread Gustavo A. R. Silva
Hi all, Friendly ping: who can take this, please? Thanks -- Gustavo On Mon, Jun 29, 2020 at 09:43:26AM +0300, Peter Ujfalusi wrote: > > > On 26/06/2020 16.29, Gustavo A. R. Silva wrote: > > Hi Peter, > > > > Please, see my comments below... > > > > On Fri, Jun 26, 2020 at 10:30:37AM +0300, P

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-29 Thread Peter Ujfalusi
On 26/06/2020 16.29, Gustavo A. R. Silva wrote: > Hi Peter, > > Please, see my comments below... > > On Fri, Jun 26, 2020 at 10:30:37AM +0300, Peter Ujfalusi wrote: >> >> >> On 24/06/2020 20.12, Gustavo A. R. Silva wrote: >>> Hi Vinod, >>> >>> On 6/24/20 00:55, Vinod Koul wrote: On 19-06-

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-26 Thread Gustavo A. R. Silva
Hi Peter, Please, see my comments below... On Fri, Jun 26, 2020 at 10:30:37AM +0300, Peter Ujfalusi wrote: > > > On 24/06/2020 20.12, Gustavo A. R. Silva wrote: > > Hi Vinod, > > > > On 6/24/20 00:55, Vinod Koul wrote: > >> On 19-06-20, 17:43, Gustavo A. R. Silva wrote: > >>> Make use of the s

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-26 Thread Peter Ujfalusi
On 24/06/2020 20.12, Gustavo A. R. Silva wrote: > Hi Vinod, > > On 6/24/20 00:55, 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 wa

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-24 Thread Gustavo A. R. Silva
Hi Vinod, On 6/24/20 00:55, 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 >> fix

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-24 Thread Peter Ujfalusi
On 24/06/2020 8.55, 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 man

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-24 Thread Vinod Koul
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 wa

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-23 Thread Joe Perches
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

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-23 Thread Vinod Koul
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.c

[PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-19 Thread 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. This code was detected with the help of Coccinelle and, audited and fixed manually. Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 Signed-off-by: Gustavo A. R. Silva -