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: <20160109005004.GA58406@roam>
Date:	Sat, 9 Jan 2016 08:50:04 +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/gpio/imanager-gpio.c:170: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-gpio.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/gpio/imanager-gpio.c
+++ b/drivers/gpio/imanager-gpio.c
@@ -167,7 +167,6 @@ static int imanager_remove(struct platfo
 
 static struct platform_driver imanager_gpio_driver = {
 	.driver = {
-		.owner	= THIS_MODULE,
 		.name	= "imanager_gpio",
 	},
 	.probe	= imanager_gpio_probe,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ