[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250124032502.nj25mu5mko36qjaq@vireshk-i7>
Date: Fri, 24 Jan 2025 08:55:02 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>, linux-pm@...r.kernel.org,
Vincent Guittot <vincent.guittot@...aro.org>,
kernel test robot <lkp@...el.com>, stable@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] cpufreq: s3c64xx: Fix compilation warning
On 23-01-25, 20:48, Rafael J. Wysocki wrote:
> On Wed, Jan 22, 2025 at 7:06 AM Viresh Kumar <viresh.kumar@...aro.org> wrote:
> >
> > The driver generates following warning when regulator support isn't
> > enabled in the kernel. Fix it.
> >
> > drivers/cpufreq/s3c64xx-cpufreq.c: In function 's3c64xx_cpufreq_set_target':
> > >> drivers/cpufreq/s3c64xx-cpufreq.c:55:22: warning: variable 'old_freq' set but not used [-Wunused-but-set-variable]
> > 55 | unsigned int old_freq, new_freq;
> > | ^~~~~~~~
> > >> drivers/cpufreq/s3c64xx-cpufreq.c:54:30: warning: variable 'dvfs' set but not used [-Wunused-but-set-variable]
> > 54 | struct s3c64xx_dvfs *dvfs;
> > | ^~~~
> >
> > Reported-by: kernel test robot <lkp@...el.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202501191803.CtfT7b2o-lkp@intel.com/
> > Cc: <stable@...r.kernel.org> # v5.4+
> > Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> > ---
> > V2: Move s3c64xx_dvfs_table too inside ifdef.
>
> Applied as 6.14-rc material.
Thanks.
--
viresh
Powered by blists - more mailing lists