On 23-01-25, 20:48, Rafael J. Wysocki wrote: > On Wed, Jan 22, 2025 at 7:06 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> 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@xxxxxxxxx> > > Closes: https://lore.kernel.org/oe-kbuild-all/202501191803.CtfT7b2o-lkp@xxxxxxxxx/ > > Cc: <stable@xxxxxxxxxxxxxxx> # v5.4+ > > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> > > --- > > V2: Move s3c64xx_dvfs_table too inside ifdef. > > Applied as 6.14-rc material. Thanks. -- viresh