lkml.org 
[lkml]   [2020]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
    On Sat, May 16, 2020 at 11:42:05PM +0200, Christophe JAILLET wrote:
    > Commit b53611fb1ce9 ("dmaengine: tegra210-adma: Fix crash during probe")
    > has moved some code in the probe function and reordered the error handling
    > path accordingly.
    > However, a goto has been missed.
    >
    > Fix it and goto the right label if 'dma_async_device_register()' fails, so
    > that all resources are released.
    >
    > Fixes: b53611fb1ce9 ("dmaengine: tegra210-adma: Fix crash during probe")
    > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    > ---
    > drivers/dma/tegra210-adma.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)

    Acked-by: Thierry Reding <treding@nvidia.com>
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2020-05-19 18:26    [W:3.416 / U:0.656 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site