All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	kbuild-all@01.org, Elena Reshetova <elena.reshetova@intel.com>
Subject: [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings
Date: Sun, 14 Apr 2019 07:50:49 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.21.1904140748230.2615@hadrien> (raw)

From: kbuild test robot <lkp@intel.com>

Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 26e2aa63d568 ("ZEN: Add VHBA driver")
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

---

There was also a report about:

drivers/scsi/vhba/vhba.c:184:8-27: atomic_dec_and_test variation before
object free at line 185.

that Elena may want to comment on.


tree:   https://github.com/zen-kernel/zen-kernel 5.0/misc
head:   5fbf87816fba5c14168bf5a8cf2205e072bac88f
commit: 26e2aa63d568ec48e0c062637ed5e3ca44b492e2 [7/18] ZEN: Add VHBA driver
:::::: branch date: 4 hours ago
:::::: commit date: 6 weeks ago

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

--- a/drivers/scsi/vhba/vhba.c
+++ b/drivers/scsi/vhba/vhba.c
@@ -1033,7 +1033,6 @@ static struct platform_device vhba_platf

 static struct platform_driver vhba_platform_driver = {
     .driver = {
-        .owner = THIS_MODULE,
         .name = "vhba",
     },
     .probe = vhba_probe,

             reply	other threads:[~2019-04-14  5:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-14  5:50 Julia Lawall [this message]
2019-04-15  6:31 ` [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings Reshetova, Elena
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
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 ` [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings kernel test robot
2020-07-26 11:01 Julia Lawall

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=alpine.DEB.2.21.1904140748230.2615@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=elena.reshetova@intel.com \
    --cc=jan.steffens@gmail.com \
    --cc=jejb@linux.ibm.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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 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.