aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2019-04-01 01:37:51 +0000
committerViresh Kumar <[email protected]>2019-04-08 10:07:06 +0000
commitddb07fba1c645791ead16d1eee0639a033fb8cf9 (patch)
tree8bc2f2f0a9e98437118ad3729896897e138ce7f0 /lib/timerqueue.c
parentcpufreq: kirkwood: fix possible object reference leak (diff)
downloadkernel-ddb07fba1c645791ead16d1eee0639a033fb8cf9.tar.gz
kernel-ddb07fba1c645791ead16d1eee0639a033fb8cf9.zip
cpufreq: maple: fix possible object reference leak
The call to of_cpu_device_node_get 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/cpufreq/maple-cpufreq.c:213:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 177, but without a corresponding object release within this function. Signed-off-by: Wen Yang <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions