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: <20160617212044.GA178988@ivytown2>
Date:	Sat, 18 Jun 2016 05:20:44 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Crestez Dan Leonard <leonard.crestez@...el.com>
Cc:	kbuild-all@...org, Jonathan Cameron <jic23@...nel.org>,
	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
	Hartmut Knaack <knaack.h@....de>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Peter Meerwald-Stadler <pmeerw@...erw.net>,
	Daniel Baluta <daniel.baluta@...el.com>,
	Crestez Dan Leonard <leonard.crestez@...el.com>
Subject: [PATCH] iio: fix platform_no_drv_owner.cocci warnings

drivers/iio/light/si1145.c:1336: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: Peter Meerwald <pmeerw@...erw.net>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 si1145.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -1333,7 +1333,6 @@ static int si1145_remove(struct i2c_clie
 static struct i2c_driver si1145_driver = {
 	.driver = {
 		.name   = "si1145",
-		.owner  = THIS_MODULE,
 	},
 	.probe  = si1145_probe,
 	.remove = si1145_remove,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ