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-next>] [day] [month] [year] [list]
Message-ID: <20160219112219.GA2366@amitoj-Inspiron-3542>
Date:	Fri, 19 Feb 2016 16:52:19 +0530
From:	Amitoj Kaur Chawla <amitoj1606@...il.com>
To:	cascardo@...ux.vnet.ibm.com, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc:	julia.lawall@...6.fr
Subject: [PATCH] ehea: Drop owner assignment from platform_driver

platform_driver does not need to set an owner, it will be populated by
the driver core.

Generated-by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@...il.com>
---
 drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c
index 2a0dc12..d4b022f 100644
--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c
+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c
@@ -127,7 +127,6 @@ static const struct of_device_id ehea_device_table[] = {
 static struct platform_driver ehea_driver = {
 	.driver = {
 		.name = "ehea",
-		.owner = THIS_MODULE,
 		.of_match_table = ehea_device_table,
 	},
 	.probe = ehea_probe_adapter,
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ