aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-11 11:42:03 +0000
committerWim Van Sebroeck <[email protected]>2022-05-21 08:09:31 +0000
commit5d24df3d690809952528e7a19a43d84bc5b99d44 (patch)
tree0672c4f295de6befc7377d3435334ec0fb2c39dc /drivers/fpga/fpga-region.c
parentdt-bindings: watchdog: renesas,wdt: R-Car V3U is R-Car Gen4 (diff)
downloadkernel-5d24df3d690809952528e7a19a43d84bc5b99d44.tar.gz
kernel-5d24df3d690809952528e7a19a43d84bc5b99d44.zip
watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() in some error paths. Fixes: bf9006399939 ("watchdog: ts4800: add driver for TS-4800 watchdog") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions