[PATCH 5/7] s390/ism: don't pass bogus GFP_ flags to dma_alloc_coherent

Wenjia Zhang wenjia at linux.ibm.com
Wed Nov 16 04:39:07 PST 2022



On 13.11.22 17:35, Christoph Hellwig wrote:
> dma_alloc_coherent is an opaque allocator that only uses the GFP_ flags
> for allocation context control.  Don't pass __GFP_COMP which makes no
> sense for an allocation that can't in any way be converted to a page
> pointer.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>   drivers/s390/net/ism_drv.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
I'm fine with that.

Acked-by: Wenjia Zhang <wenjia at linux.ibm.com>



More information about the linux-arm-kernel mailing list