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: <20160403104537.GA43128@xian.intel.com>
Date:	Sun, 3 Apr 2016 18:45:37 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Tomas Winkler <tomas.winkler@...el.com>
Cc:	kbuild-all@...org, gregkh@...uxfoundation.org,
	Ulf Hansson <ulf.hansson@...aro.org>,
	Adrian Hunter <adrian.hunter@...el.com>,
	James Bottomley <James.Bottomley@...senPartnership.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	Vinayak Holikatti <vinholikatti@...il.com>,
	Christoph Hellwig <hch@....de>,
	Yaniv Gardi <ygardi@...eaurora.org>,
	Joao Pinto <Joao.Pinto@...opsys.com>,
	linux-mmc@...r.kernel.org, linux-scsi@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Tomas Winkler <tomas.winkler@...el.com>
Subject: [PATCH] char: rpmb: fix platform_no_drv_owner.cocci warnings

drivers/char/rpmb/rpmb_sim.c:548: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: Tomas Winkler <tomas.winkler@...el.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

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

--- a/drivers/char/rpmb/rpmb_sim.c
+++ b/drivers/char/rpmb/rpmb_sim.c
@@ -545,7 +545,6 @@ static int rpmb_sim_remove(struct platfo
 static struct platform_driver rpmb_sim_driver = {
 	.driver = {
 		.name  = "rpmb_sim",
-		.owner = THIS_MODULE,
 	},
 	.probe         = rpmb_sim_probe,
 	.remove        = rpmb_sim_remove,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ