From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] net: phy: fix platform_no_drv_owner.cocci warnings
Date: Thu, 10 Feb 2022 09:32:53 +0800 [thread overview]
Message-ID: <20220210013253.GA36734@cd2dbfa02c98> (raw)
In-Reply-To: <202202100947.TxWlJ5Wl-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
From: kernel test robot <lkp@intel.com>
drivers/net/phy/rtl8367s_mdio.c:2452: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
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://github.com/frank-w/BPI-R2-4.14 5.17-r2pro-hdmiv5
head: 2fc65b46be5ea69f66ce812f2c847c074a0eb1b6
commit: f0a141ef306b659663fedd23a54f678351fa58ae [5/97] net: phy: add rtl8367 reduced phy driver
:::::: branch date: 6 hours ago
:::::: commit date: 4 days ago
rtl8367s_mdio.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/net/phy/rtl8367s_mdio.c
+++ b/drivers/net/phy/rtl8367s_mdio.c
@@ -2449,7 +2449,6 @@ static struct platform_driver gsw_driver
.remove = rtk_gsw_remove,
.driver = {
.name = "rtk-gsw-reduced",
- .owner = THIS_MODULE,
.of_match_table = rtk_gsw_match,
},
};
prev parent reply other threads:[~2022-02-10 1:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-10 1:42 [frank-w-bpi-r2-4.14:5.17-r2pro-hdmiv5 5/97] drivers/net/phy/rtl8367s_mdio.c:2452:3-8: No need to set .owner here. The core will do it kernel test robot
2022-02-10 1:32 ` 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=20220210013253.GA36734@cd2dbfa02c98 \
--to=lkp@intel.com \
--cc=kbuild-all@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.