[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1554082674-2049-1-git-send-email-wen.yang99@zte.com.cn>
Date: Mon, 1 Apr 2019 09:37:47 +0800
From: Wen Yang <wen.yang99@....com.cn>
To: linux-kernel@...r.kernel.org
Cc: wang.yi59@....com.cn, Wen Yang <wen.yang99@....com.cn>
Subject: [PATCH 0/7] fix possible object reference leaks in cpufreq
The call to of_get_cpu_node/of_find_compatible_node/of_parse_phandle...
returns a node pointer with refcount incremented thus it must be
explicitly decremented after the last usage.
This patch series fix those possible object reference leaks in cpufreq.
Wen Yang (7):
cpufreq: ap806: fix possible object reference leak
cpufreq: imx6q: fix possible object reference leak
cpufreq: kirkwood: fix possible object reference leak
cpufreq: maple: fix possible object reference leak
cpufreq/pasemi: fix possible object reference leak
cpufreq: pmac32: fix possible object reference leak
cpufreq: ppc_cbe: fix possible object reference leak
drivers/cpufreq/armada-8k-cpufreq.c | 1 +
drivers/cpufreq/imx6q-cpufreq.c | 4 ++--
drivers/cpufreq/kirkwood-cpufreq.c | 19 +++++++++++--------
drivers/cpufreq/maple-cpufreq.c | 2 +-
drivers/cpufreq/pasemi-cpufreq.c | 1 +
drivers/cpufreq/pmac32-cpufreq.c | 2 ++
drivers/cpufreq/ppc_cbe_cpufreq.c | 1 +
7 files changed, 19 insertions(+), 11 deletions(-)
--
2.9.5
Powered by blists - more mailing lists