summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-24 10:45:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-19 19:22:49 +0300
commitada7b0c0dedafd7d059115adf49e48acba3153a8 (patch)
treefc8c1635c6325a86163f572e780fcec3e362bc84 /Documentation/ABI
parent7a2f6f61e8ee016b75e1b1dd62fbd03e6d6db37d (diff)
downloadlinux-ada7b0c0dedafd7d059115adf49e48acba3153a8.tar.xz
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 <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220524074517.45268-1-linmq006@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions