Re: [PATCH] scsi: qla2xxx: Fix the size used in a 'dma_free_coherent()' call

2020-08-31 Thread Martin K. Petersen
On Sun, 2 Aug 2020 13:07:21 +0200, Christophe JAILLET wrote: > Update the size used in 'dma_free_coherent()' in order to match the one > used in the corresponding 'dma_alloc_coherent()'. > > While at it, remove a memset after a call to 'dma_alloc_coherent()'. > This is useless since > commit 518a

[PATCH] scsi: qla2xxx: Fix the size used in a 'dma_free_coherent()' call

2020-08-02 Thread Christophe JAILLET
Update the size used in 'dma_free_coherent()' in order to match the one used in the corresponding 'dma_alloc_coherent()'. While at it, remove a memset after a call to 'dma_alloc_coherent()'. This is useless since commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") Fixes: 41