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>] [day] [month] [year] [list]
Date:   Tue, 10 Jan 2017 06:50:31 +0100 (CET)
From:   Julia Lawall <julia.lawall@...6.fr>
To:     Jaghathiswari Rankappagounder Natarajan <jaghu@...gle.com>
cc:     openbmc@...ts.ozlabs.org, joel@....id.au, jdelvare@...e.com,
        linux@...ck-us.net, linux-hwmon@...r.kernel.org,
        linux-kernel@...r.kernel.org, corbet@....net,
        linux-doc@...r.kernel.org, robh+dt@...nel.org,
        mark.rutland@....com, devicetree@...r.kernel.org
Subject: [PATCH] drivers: hwmon: fix platform_no_drv_owner.cocci warnings 

Remove .owner field if calls are used which set it automatically

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

CC: Jaghathiswari Rankappagounder Natarajan <jaghu@...gle.com>
Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 aspeed-pwm-tacho.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@ -872,7 +872,6 @@ static struct platform_driver aspeed_pwm
 	.probe		= aspeed_pwm_tacho_probe,
 	.driver		= {
 		.name	= "aspeed_pwm_tacho",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_pwm_tacho_match_table,
 	},
 };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ