[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230409235511.7xxqdxsqtflrhifk@vireshk-i7>
Date: Mon, 10 Apr 2023 05:25:11 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Markus Elfring <Markus.Elfring@....de>
Cc: kernel-janitors@...r.kernel.org, linux-pm@...r.kernel.org,
"Rafael J. Wysocki" <rafael@...nel.org>, cocci@...ia.fr,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] cpufreq: sparc: Fix exception handling in two
functions
On 07-04-23, 19:48, Markus Elfring wrote:
> @@ -337,21 +337,17 @@ static int __init us2e_freq_init(void)
> driver->get = us2e_freq_get;
> driver->exit = us2e_freq_cpu_exit;
> strcpy(driver->name, "UltraSPARC-IIe");
> -
> - cpufreq_us2e_driver = driver;
This changes the behavior of the code here as "cpufreq_us2e_driver"
is used in us2e_freq_cpu_exit(). If some failure occurs after a
policy is initialized, and driver doesn't register successfully, then
we won't set the frequency to the lowest index of the table anymore.
Same with other file.
--
viresh
Powered by blists - more mailing lists