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: <1416211078.6078.3.camel@rzhang1-toshiba>
Date:	Mon, 17 Nov 2014 15:57:58 +0800
From:	Zhang Rui <rui.zhang@...el.com>
To:	Fengguang Wu <fengguang.wu@...el.com>
Cc:	linux-pm@...r.kernel.org, Lan Tianyu <tianyu.lan@...el.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Thermal: fix platform_no_drv_owner.cocci warnings

On δΈ€, 2014-11-17 at 14:24 +0800, Fengguang Wu wrote:
> drivers/thermal/int340x_thermal/int3403_thermal.c:468:3-8: No need to set .owner here. The core will do it.
> 
>  Remove .owner field if calls are used which set it automatically
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>

Acked-by: Zhang Rui <rui.zhang@...el.com>

thanks,
rui
> ---
> 
>  int3403_thermal.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- a/drivers/thermal/int340x_thermal/int3403_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3403_thermal.c
> @@ -465,7 +465,6 @@ static struct platform_driver int3403_dr
>  	.remove = int3403_remove,
>  	.driver = {
>  		.name = "int3403 thermal",
> -		.owner  = THIS_MODULE,
>  		.acpi_match_table = int3403_device_ids,
>  	},
>  };


--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ