diff options
author | Liang He <[email protected]> | 2022-06-17 19:53:23 +0800 |
---|---|---|
committer | Max Filippov <[email protected]> | 2022-06-18 14:47:41 -0700 |
commit | 173940b3ae40114d4179c251a98ee039dc9cd5b3 (patch) | |
tree | dae5ff169192eeea53d34a23218af4d22c90f399 /include/linux/fpga/fpga-mgr.h | |
parent | a0117dc956429f2ede17b323046e1968d1849150 (diff) |
xtensa: xtfpga: Fix refcount leak bug in setup
In machine_setup(), of_find_compatible_node() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.
Cc: [email protected]
Signed-off-by: Liang He <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions