lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 22 May 2014 09:44:51 +0530 From: Viresh Kumar <viresh.kumar@...aro.org> To: Sachin Kamat <sachin.kamat@...aro.org> Cc: Paul Bolle <pebolle@...cali.nl>, "Rafael J. Wysocki" <rjw@...ysocki.net>, "cpufreq@...r.kernel.org" <cpufreq@...r.kernel.org>, "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] cpufreq: s5pv210: remove unused call of pr_err() On 22 May 2014 08:52, Sachin Kamat <sachin.kamat@...aro.org> wrote: > On 22 May 2014 01:23, Paul Bolle <pebolle@...cali.nl> wrote: >> A call of pr_err() was added in v3.1. It was guarded by a check for >> CONFIG_PM_VERBOSE. The Kconfig symbol PM_VERBOSE was removed in v3.0. So >> this call of pr_err() has never been used. Remove it. >> >> Signed-off-by: Paul Bolle <pebolle@...cali.nl> >> --- >> Untested. >> >> drivers/cpufreq/s5pv210-cpufreq.c | 4 ---- >> 1 file changed, 4 deletions(-) >> >> diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c >> index ab2c1a40d437..0873729135df 100644 >> --- a/drivers/cpufreq/s5pv210-cpufreq.c >> +++ b/drivers/cpufreq/s5pv210-cpufreq.c >> @@ -175,10 +175,6 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) >> mutex_lock(&set_freq_lock); >> >> if (no_cpufreq_access) { >> -#ifdef CONFIG_PM_VERBOSE >> - pr_err("%s:%d denied access to %s as it is disabled" >> - "temporarily\n", __FILE__, __LINE__, __func__); >> -#endif > > The config symbol itself is not defined and hence could be removed. What do you meant by this? He already got rid of CONFIG_PM_VERBOSE.. > However I feel, the > error message could be retained after trimming down the arguments a bit. I agree.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists