Re: [PATCH] virtio_console: drop device reference when DMA allocation fails

From: Ziheng Wei

Date: Tue Nov 24 2026 - 05:01:05 EST


Sorry for the missing context. The question I was answering was:

Is this a duplicate of
https://lore.kernel.org/all/aoWK_qpSBeO6Bw0M@michalis-linux/?

Yes, it is. Both patches fix the same alloc_buf() device-reference leak
when dma_alloc_coherent() fails. I missed Michail Tatas's earlier patch
during my duplicate search, so please ignore mine.

Sorry again for the noise.

Ziheng Wei