Re: [PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-28 Thread Joe Perches
On Tue, 2020-07-28 at 10:05 +0200, Christophe JAILLET wrote: > Le 27/07/2020 à 18:16, Joe Perches a écrit : > > On Mon, 2020-07-27 at 09:09 -0700, Joe Perches wrote: > > > On Mon, 2020-07-27 at 15:51 +0200, Christophe JAILLET wrote: > > > > Avoid a memset after a call to 'dma_alloc_coherent()'. > >

Re: [PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-28 Thread Christophe JAILLET
Le 27/07/2020 à 18:16, Joe Perches a écrit : On Mon, 2020-07-27 at 09:09 -0700, Joe Perches wrote: On Mon, 2020-07-27 at 15:51 +0200, Christophe JAILLET wrote: Avoid a memset after a call to 'dma_alloc_coherent()'. This is useless since commit 518a2f1925c3 ("dma-mapping: zero memory returned fr

Re: [PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-28 Thread Christophe JAILLET
Le 27/07/2020 à 18:09, Joe Perches a écrit : On Mon, 2020-07-27 at 15:51 +0200, Christophe JAILLET wrote: Avoid a memset after a call to 'dma_alloc_coherent()'. This is useless since commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") [] diff --git a/drivers/media/pci/bt

Re: [PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-27 Thread Joe Perches
On Mon, 2020-07-27 at 09:09 -0700, Joe Perches wrote: > On Mon, 2020-07-27 at 15:51 +0200, Christophe JAILLET wrote: > > Avoid a memset after a call to 'dma_alloc_coherent()'. > > This is useless since > > commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") > [] > > diff --gi

Re: [PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-27 Thread Joe Perches
On Mon, 2020-07-27 at 15:51 +0200, Christophe JAILLET wrote: > Avoid a memset after a call to 'dma_alloc_coherent()'. > This is useless since > commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") [] > diff --git a/drivers/media/pci/bt8xx/btcx-risc.c > b/drivers/media/pci/bt8

[PATCH 2/2] media: bt8xx: avoid a useless memset

2020-07-27 Thread Christophe JAILLET
Avoid a memset after a call to 'dma_alloc_coherent()'. This is useless since commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") Signed-off-by: Christophe JAILLET --- drivers/media/pci/bt8xx/btcx-risc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/pci/b