Re: [RFC 1/6] s390/ism: Set DMA coherent mask

From: Christoph Hellwig
Date: Thu Oct 20 2022 - 04:08:07 EST


On Wed, Oct 19, 2022 at 04:44:30PM +0200, Niklas Schnelle wrote:
> if (ret)
> goto err_resource;
>
> + ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(64));

Nit: but you could also just replace the call to dma_set_mask abobe with
a call to dma_set_mask_and_coherent.