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: <20160110101121.GA186737@lkp-ib04>
Date:	Sun, 10 Jan 2016 18:11:21 +0800
From:	kbuild test robot <lkp@...el.com>
To:	richard.dorsch@...il.com
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	lm-sensors@...sensors.org, linux-i2c@...r.kernel.org,
	linux-watchdog@...r.kernel.org, linux-gpio@...r.kernel.org,
	lee.jones@...aro.org, jdelvare@...e.com, linux@...ck-us.net,
	wim@...ana.be, jo.sunga@...antech.com,
	Richard Vidal-Dorsch <richard.dorsch@...il.com>
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings

drivers/mfd/imanager-core.c:248: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

CC: Richard Vidal-Dorsch <richard.dorsch@...il.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 imanager-core.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/mfd/imanager-core.c
+++ b/drivers/mfd/imanager-core.c
@@ -245,7 +245,6 @@ static int imanager_remove(struct platfo
 
 static struct platform_driver imanager_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name  = "imanager-core",
 	},
 	.probe	= imanager_probe,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ