Re: [PATCH -next] dma-mapping: Fix build error unused-value

2022-07-04 Thread Mathieu Poirier
On Thu, Jun 30, 2022 at 04:31:16PM +0200, Christoph Hellwig wrote: > Thanks, this looks good with a minor nit below: > > Reviewed-by: Christoph Hellwig > > Mathieu, can you pick this up through your tree as that is where the > offending commit was merged through? > > > Fixes:

Re: [PATCH -next] dma-mapping: Fix build error unused-value

2022-06-30 Thread Christoph Hellwig
Thanks, this looks good with a minor nit below: Reviewed-by: Christoph Hellwig Mathieu, can you pick this up through your tree as that is where the offending commit was merged through? > Fixes: e61c451476e6("dma-mapping: Add dma_release_coherent_memory to DMA API") missing space before the

[PATCH -next] dma-mapping: Fix build error unused-value

2022-06-30 Thread Ren Zhijie via iommu
If CONFIG_DMA_DECLARE_COHERENT is not set, make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- will be failed, like this: drivers/remoteproc/remoteproc_core.c: In function ‘rproc_rvdev_release’: ./include/linux/dma-map-ops.h:182:42: error: statement with no effect [-Werror=unused-value] #define