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: <20160415103611.GA101947@xian>
Date:	Fri, 15 Apr 2016 18:36:11 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Wadim Egorov <w.egorov@...tec.de>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
	rtc-linux@...glegroups.com, linux-rockchip@...ts.infradead.org,
	robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
	ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
	linux@....linux.org.uk, mturquette@...libre.com,
	sboyd@...eaurora.org, lee.jones@...aro.org, lgirdwood@...il.com,
	broonie@...nel.org, a.zummo@...ertech.it,
	alexandre.belloni@...e-electrons.com, dianders@...omium.org,
	zyw@...k-chips.com, arnd@...db.de, k.kozlowski@...sung.com,
	javier@....samsung.com, kgene@...nel.org, olof@...om.net,
	geert+renesas@...der.be, sjoerd.simons@...labora.co.uk,
	treding@...dia.com, public_timo.s@...entcreek.de
Subject: [PATCH] regulator: rk808: fix platform_no_drv_owner.cocci warnings

drivers/regulator/rk8xx-regulator.c:617: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: Wadim Egorov <w.egorov@...tec.de>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 rk8xx-regulator.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/regulator/rk8xx-regulator.c
+++ b/drivers/regulator/rk8xx-regulator.c
@@ -614,7 +614,6 @@ static struct platform_driver rk8xx_regu
 	.probe = rk8xx_regulator_probe,
 	.driver = {
 		.name = "rk8xx-regulator",
-		.owner = THIS_MODULE,
 	},
 };
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ