On 23-03-21, 16:19, Dan Carpenter wrote:
> Add a missing put_device(&pdev->dev) if the call to
> dma_async_device_register(dma); fails.
Applied, thanks
--
~Vinod
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
Good catch. Thanks Dan!
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
---
drivers/dma/plx_dma.c | 18 +++---
1 file changed, 11 insertions(+), 7
3 matches
Mail list logo