CC: [email protected]
TO: "Jan Alexander Steffens (heftig)" <[email protected]>

From: kernel test robot <[email protected]>

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 <[email protected]>
---

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,
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to