summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.kcov
diff options
context:
space:
mode:
authorWen Yang <wen.yang99@zte.com.cn>2019-05-06 03:05:15 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-24 09:03:06 -0400
commit2c41cc0be07b5ee2f1167f41cd8a86fc5b53d82c (patch)
tree02370c29edeed34837acbe0669a69d7d442d4ad4 /scripts/Makefile.kcov
parent4a96f5e10eb9490616b969d5f65a68f8508073e9 (diff)
downloadtalos-op-linux-2c41cc0be07b5ee2f1167f41cd8a86fc5b53d82c.tar.gz
talos-op-linux-2c41cc0be07b5ee2f1167f41cd8a86fc5b53d82c.zip
media: venus: firmware: fix leaked of_node references
The call to of_parse_phandle returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: drivers/media/platform/qcom/venus/firmware.c:90:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function. drivers/media/platform/qcom/venus/firmware.c:94:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function. drivers/media/platform/qcom/venus/firmware.c:128:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function. Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts/Makefile.kcov')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud