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]
Date:	Sat, 12 Mar 2016 00:45:43 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Alexey Brodkin <Alexey.Brodkin@...opsys.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	linux-snps-arc@...ts.infradead.org,
	Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
	David Airlie <airlied@...ux.ie>,
	dri-devel@...ts.freedesktop.org,
	Jose Abreu <Jose.Abreu@...opsys.com>
Subject: [PATCH] drm: fix platform_no_drv_owner.cocci warnings

drivers/gpu/drm/arc/arcpgu_drv.c:243:6-11: 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: Alexey Brodkin <Alexey.Brodkin@...opsys.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

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

--- a/drivers/gpu/drm/arc/arcpgu_drv.c
+++ b/drivers/gpu/drm/arc/arcpgu_drv.c
@@ -240,7 +240,6 @@ static struct platform_driver arcpgu_pla
 	.remove = arcpgu_remove,
 	.driver = {
 		   .name = "arcpgu",
-		   .owner = THIS_MODULE,
 		   .of_match_table = arcpgu_of_table,
 		   },
 };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ