Thread (74 messages) 74 messages, 7 authors, 2022-02-25

Re: [PATCH 09/22] usb: cdns3: Don't use GFP_DMA when calling dma_alloc_coherent()

From: Christoph Hellwig <hch@lst.de>
Date: 2022-02-19 07:09:46
Also in: linux-crypto, linux-i2c, linux-mm, linux-s390, lkml

On Sat, Feb 19, 2022 at 08:52:08AM +0800, Baoquan He wrote:
dma_alloc_coherent() allocates dma buffer with device's addressing
limitation in mind. It's redundent to specify GFP_DMA when calling
dma_alloc_coherent(). replace it with GFP_KERNEL.
Plase avoid the overly long line. The rest looks good.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help