diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2022-06-30 09:41:53 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-30 21:07:03 -0700 |
| commit | 5a24389457ba82e8ce176e0325f5a1b79ed5be14 (patch) | |
| tree | fa1f02572cfe9bad9939a526ced47eda3c8ae033 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 34eff17ec4e2b449f92705ce4d6f592fc1a05926 (diff) | |
| download | linux-5a24389457ba82e8ce176e0325f5a1b79ed5be14.tar.gz linux-5a24389457ba82e8ce176e0325f5a1b79ed5be14.zip | |
net: dsa: rzn1-a5psw: add missing of_node_put() in a5psw_pcs_get()
of_parse_phandle() will increase the refcount of 'pcs_node', so add
of_node_put() before return from a5psw_pcs_get().
Fixes: 888cdb892b61 ("net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220630014153.1888811-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
