Re: [PATCH v3 2/2] dmaengine: ti: edma: fix OF node reference leaks in edma_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 19, 2024 at 11:05:07AM +0900, Joe Hattori wrote:
> The .probe() of edma_driver calls of_parse_phandle_with_fixed_args() but
> does not release the obtained OF nodes. Thus add a of_node_put() call.
> 
> This bug was found by an experimental verification tool that I am
> developing.
> 
> Fixes: 1be5336bc7ba ("dmaengine: edma: New device tree binding")
> Signed-off-by: Joe Hattori <joe@xxxxxxxxxxxxxxxxxxxxx>
> ---

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux