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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160817070549.GT21099@ubuntu>
Date:	Wed, 17 Aug 2016 12:35:49 +0530
From:	Viresh Kumar <viresh.kumar@...aro.org>
To:	SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc:	Julia Lawall <julia.lawall@...6.fr>,
	"Rafael J. Wysocki" <rjw@...ysocki.net>,
	Sudeep Holla <sudeep.holla@....com>, linux-pm@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the
 field "owner"

On 17-08-16, 08:21, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Tue, 16 Aug 2016 23:00:07 +0200
> 
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
> 
> v2: A trailing comma was preserved even for a single designated initializer.
> 
>  drivers/cpufreq/scpi-cpufreq.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c
> index e8a7bf5..ea7a4e1 100644
> --- a/drivers/cpufreq/scpi-cpufreq.c
> +++ b/drivers/cpufreq/scpi-cpufreq.c
> @@ -105,7 +105,6 @@ static int scpi_cpufreq_remove(struct platform_device *pdev)
>  static struct platform_driver scpi_cpufreq_platdrv = {
>  	.driver = {
>  		.name	= "scpi-cpufreq",
> -		.owner	= THIS_MODULE,
>  	},
>  	.probe		= scpi_cpufreq_probe,
>  	.remove		= scpi_cpufreq_remove,

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>

-- 
viresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ