Thread (3 messages) 3 messages, 3 authors, 2021-04-12

Re: [PATCH] dmaengine: plx_dma: add a missing put_device() on error path

From: Logan Gunthorpe <logang@deltatee.com>
Date: 2021-03-23 16:22:35
Also in: kernel-janitors, lkml


On 2021-03-23 7:19 a.m., Dan Carpenter wrote:
Add a missing put_device(&pdev->dev) if the call to
dma_async_device_register(dma); fails.

Fixes: 905ca51e63be ("dmaengine: plx-dma: Introduce PLX DMA engine PCI driver skeleton")
Signed-off-by: Dan Carpenter <redacted>
Good catch. Thanks Dan!

Reviewed-by: Logan Gunthorpe <logang@deltatee.com>

Logan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help