[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4468a196-ad5c-420e-aad3-becbd64279d2@web.de>
Date: Mon, 30 Dec 2024 13:12:17 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Charles Han <hanchunchao@...pur.com>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-pm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Alyssa Rosenzweig <alyssa@...enzweig.io>, Hector Martin <marcan@...can.st>,
Marc Zyngier <maz@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
Sven Peter <sven@...npeter.dev>, Viresh Kumar <viresh.kumar@...aro.org>
Subject: Re: [v2] cpufreq: apple-soc: Prevent null pointer dereference in
apple_soc_cpufreq_get_rate()
> cpufreq_cpu_get_raw() may return NULL if the cpu is not in
> policy->cpus cpu mask and it will cause null pointer dereference.
> Prevent null pointer dereference in apple_soc_cpufreq_get_rate().
…
> ---
> drivers/cpufreq/apple-soc-cpufreq.c | 3 +++
> 1 file changed, 3 insertions(+)
It can be helpful to provide a corresponding patch version description.
https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.13-rc5#n310
Regards,
Markus
Powered by blists - more mailing lists