From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings
Date: Sun, 26 Jul 2020 14:29:56 +0800 [thread overview]
Message-ID: <20200726062956.GA7104@fa5e21e9903a> (raw)
In-Reply-To: <202007261450.ubTdIJWH%lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
CC: kbuild-all(a)lists.01.org
TO: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
From: kernel test robot <lkp@intel.com>
drivers/scsi/vhba/vhba.c:1045:9-14: 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: a9bd5ac696bc ("ZEN: Add VHBA driver")
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://github.com/zen-kernel/zen-kernel 5.7/zen-sauce
head: 9555af4960645728364e3b2aaae65e6ea7df0062
commit: a9bd5ac696bcd0860a8c32e9e00c9558e68c5854 [2/22] ZEN: Add VHBA driver
:::::: branch date: 8 weeks ago
:::::: commit date: 8 weeks ago
vhba.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/scsi/vhba/vhba.c
+++ b/drivers/scsi/vhba/vhba.c
@@ -1042,7 +1042,6 @@ static struct platform_device vhba_platf
static struct platform_driver vhba_platform_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "vhba",
},
.probe = vhba_probe,
next prev parent reply other threads:[~2020-07-26 6:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-26 6:29 [zen-kernel-zen-kernel:5.7/zen-sauce 2/22] drivers/scsi/vhba/vhba.c:181:8-27: atomic_dec_and_test variation before object free at line 182 kernel test robot
2020-07-26 6:29 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-26 11:01 [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings Julia Lawall
2020-04-01 20:13 [zen-kernel-zen-kernel:5.6/zen-sauce 2/22] drivers/scsi/vhba/vhba.c:1045:9-14: No need to set .owner here. The core will do it kbuild test robot
2020-04-01 20:13 ` [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings kbuild test robot
2019-04-14 5:50 Julia Lawall
2019-04-15 6:31 ` Reshetova, Elena
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=20200726062956.GA7104@fa5e21e9903a \
--to=lkp@intel.com \
--cc=kbuild@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.