All of lore.kernel.org
 help / color / mirror / Atom feed
* [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.
@ 2020-07-26  6:29 kernel test robot
  2020-07-26  6:29 ` [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-07-26  6:29 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

CC: kbuild-all(a)lists.01.org
TO: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.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
config: powerpc64-randconfig-c024-20200726 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/scsi/vhba/vhba.c:181:8-27: atomic_dec_and_test variation before object free at line 182.
--
>> drivers/scsi/vhba/vhba.c:1045:9-14: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29826 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ZEN: fix platform_no_drv_owner.cocci warnings
  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
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-26  6:29 UTC (permalink / raw)
  To: kbuild

[-- 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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-26  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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.