From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
Ulf Hansson <ulf.hansson@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Vinayak Holikatti <vinholikatti@gmail.com>,
Christoph Hellwig <hch@lst.de>,
Yaniv Gardi <ygardi@codeaurora.org>,
Joao Pinto <Joao.Pinto@synopsys.com>,
linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org,
Tomas Winkler <tomas.winkler@intel.com>
Subject: [PATCH] char: rpmb: fix platform_no_drv_owner.cocci warnings
Date: Sun, 3 Apr 2016 18:45:37 +0800 [thread overview]
Message-ID: <20160403104537.GA43128@xian.intel.com> (raw)
In-Reply-To: <1459676572-29921-6-git-send-email-tomas.winkler@intel.com>
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@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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,
next prev parent reply other threads:[~2016-04-03 10:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 9:42 [PATCH 0/8] Replay Protected Memory Block (RPMB) subsystem Tomas Winkler
2016-04-03 9:42 ` [PATCH 1/8] rpmb: add " Tomas Winkler
2016-04-03 9:42 ` [PATCH 2/8] char: rpmb: add sysfs-class ABI documentation Tomas Winkler
2016-04-24 9:19 ` Pavel Machek
2016-04-24 16:27 ` Winkler, Tomas
2016-04-03 9:42 ` [PATCH 3/8] char: rpmb: add device attributes Tomas Winkler
2016-04-03 9:42 ` [PATCH 4/8] char: rpmb: provide user space interface Tomas Winkler
2016-04-03 10:36 ` [PATCH] char: rpmb: fix memdup_user.cocci warnings kbuild test robot
2016-04-03 10:36 ` [PATCH 4/8] char: rpmb: provide user space interface kbuild test robot
2016-04-03 9:42 ` [PATCH 5/8] char: rpmb: add RPMB simulation device Tomas Winkler
2016-04-03 10:45 ` kbuild test robot [this message]
2016-04-03 10:45 ` kbuild test robot
2016-04-03 15:35 ` kbuild test robot
2016-04-03 9:42 ` [PATCH 6/8] tools rpmb: add RPBM access tool Tomas Winkler
2016-04-04 0:55 ` kbuild test robot
2016-04-03 9:42 ` [PATCH 7/8] mmc: block: register rpmb partition with the RPMB subsystem Tomas Winkler
2016-04-03 9:42 ` [PATCH 8/8] scsi: ufs: connect to " Tomas Winkler
2016-04-04 10:32 ` Joao Pinto
2016-04-04 10:35 ` Winkler, Tomas
2016-04-03 13:27 ` [PATCH 0/8] Replay Protected Memory Block (RPMB) subsystem Andy Lutomirski
2016-04-03 19:27 ` Winkler, Tomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160403104537.GA43128@xian.intel.com \
--to=lkp@intel.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=Joao.Pinto@synopsys.com \
--cc=adrian.hunter@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=tomas.winkler@intel.com \
--cc=ulf.hansson@linaro.org \
--cc=vinholikatti@gmail.com \
--cc=ygardi@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).