diff options
author | Lv Ruyi <lv.ruyi@zte.com.cn> | 2022-04-02 04:34:19 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-22 08:58:30 +0300 |
commit | 5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9 (patch) | |
tree | d26986b7c526e8cd9ab336964ccee98fb8c7d279 /scripts/gdb/linux/utils.py | |
parent | ab0cc6bbf0c812731c703ec757fcc3fc3a457a34 (diff) | |
download | linux-5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9.tar.xz |
powerpc/xics: fix refcount leak in icp_opal_init()
The of_find_compatible_node() function returns a node pointer with
refcount incremented, use of_node_put() on it when done.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220402013419.2410298-1-lv.ruyi@zte.com.cn
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions