Re: [PATCH 1/2] nvme: fix PRP pool resize before first use

Sascha Hauer <[email protected]> Fri, 10 Jul 2026 23:38:12 +0200
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
On Thu, 09 Jul 2026 09:22:51 +0200, Ahmad Fatoum wrote:
> It's not safe to call dma_free_coherent on a NULL pointer. Implement
> dma_realloc_coherent, which correctly handles reallocating a buffer
> without leaking memory and use it to ensure only actually allocated
> buffers are freed.
> 
> 

Applied, thanks!

[1/2] nvme: fix PRP pool resize before first use
      https://git.pengutronix.de/cgit/barebox/commit/?id=7ee7cf65c2f7 (link may not be stable)
[2/2] nvme: pass device to dma dma_alloc/free_coherent
      https://git.pengutronix.de/cgit/barebox/commit/?id=4af7798538c2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>