On Sun, Jan 5, 2025 at 12:11 PM Joe Hattori <joe@xxxxxxxxxxxxxxxxxxxxx> wrote: > rcar_drif_bond_enabled() leaks an OF node reference when the > of_parse_phandle() returns a node and of_device_is_available() is false. > Add a of_node_put() call before returning NULL. > > This was found by an experimental verifier that I am developing. Due to > the lack of the actual device, no runtime test was able to be performed. > > Fixes: 7625ee981af1 ("[media] media: platform: rcar_drif: Add DRIF support") > Signed-off-by: Joe Hattori <joe@xxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds