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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1519352530.9025.63.camel@mtkswgap22>
Date:   Fri, 23 Feb 2018 10:22:10 +0800
From:   Sean Wang <sean.wang@...iatek.com>
To:     Viresh Kumar <viresh.kumar@...aro.org>
CC:     Rafael Wysocki <rjw@...ysocki.net>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Vincent Guittot <vincent.guittot@...aro.org>,
        <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <linux-mediatek@...ts.infradead.org>,
        <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug()

On Thu, 2018-02-22 at 11:26 +0530, Viresh Kumar wrote:
> With multi-platform build images, this shows a message on non mediatek
> platforms, which is unnecessary. Convert pr_warn() to pr_debug() here.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
>  drivers/cpufreq/mediatek-cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
> index 8c04dddd3c28..84d658d57029 100644
> --- a/drivers/cpufreq/mediatek-cpufreq.c
> +++ b/drivers/cpufreq/mediatek-cpufreq.c
> @@ -578,7 +578,7 @@ static int __init mtk_cpufreq_driver_init(void)
>  	match = of_match_node(mtk_cpufreq_machines, np);
>  	of_node_put(np);
>  	if (!match) {
> -		pr_warn("Machine is not compatible with mtk-cpufreq\n");
> +		pr_debug("Machine is not compatible with mtk-cpufreq\n");
>  		return -ENODEV;
>  	}
>  

Acked-by: Sean Wang <sean.wang@...iatek.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ