From: kernel test robot <lkp@intel.com>
To: Jason Yan <yanaijie@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jassi Brar <jaswinder.singh@linaro.org>
Subject: [PATCH] mailbox: pcc: fix platform_no_drv_owner.cocci warnings
Date: Tue, 4 Aug 2020 13:40:57 +0800 [thread overview]
Message-ID: <20200804054057.GA14574@ae86df0c824e> (raw)
In-Reply-To: <202008041345.W4BUAFSo%lkp@intel.com>
From: kernel test robot <lkp@intel.com>
drivers/mailbox/pcc.c:575: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
Fixes: 00d9990acb23 ("mailbox: pcc: make pcc_mbox_driver static")
CC: Jason Yan <yanaijie@huawei.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 09a0bd07764359650d41dbcb723f81321e523217
commit: 00d9990acb23c4319a1dc961d4e29a9213923b67 mailbox: pcc: make pcc_mbox_driver static
pcc.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -572,7 +572,6 @@ static struct platform_driver pcc_mbox_d
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",
- .owner = THIS_MODULE,
},
};
prev parent reply other threads:[~2020-08-04 5:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-04 5:40 drivers/mailbox/pcc.c:575:3-8: No need to set .owner here. The core will do it kernel test robot
2020-08-04 5:40 ` kernel test robot [this message]
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=20200804054057.GA14574@ae86df0c824e \
--to=lkp@intel.com \
--cc=jaswinder.singh@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yanaijie@huawei.com \
/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
all inboxes | Powered by JetHome®