diff options
| author | Miaoqian Lin <[email protected]> | 2022-05-24 07:45:17 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-06-19 16:22:49 +0000 |
| commit | ada7b0c0dedafd7d059115adf49e48acba3153a8 (patch) | |
| tree | fc8c1635c6325a86163f572e780fcec3e362bc84 /scripts/clang-tools/gen_compile_commands.py | |
| parent | iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m (diff) | |
| download | kernel-ada7b0c0dedafd7d059115adf49e48acba3153a8.tar.gz kernel-ada7b0c0dedafd7d059115adf49e48acba3153a8.zip | |
iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: ef04070692a2 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
