All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: phy: fix platform_no_drv_owner.cocci warnings
  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
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-10  1:32 UTC (permalink / raw)
  To: kbuild-all

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

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

* [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.
@ 2022-02-10  1:42 kernel test robot
  2022-02-10  1:32 ` [PATCH] net: phy: fix platform_no_drv_owner.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-02-10  1:42 UTC (permalink / raw)
  To: kbuild-all

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

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
config: h8300-randconfig-c004-20220210 (https://download.01.org/0day-ci/archive/20220210/202202100947.TxWlJ5Wl-lkp(a)intel.com/config)
compiler: h8300-linux-gcc (GCC) 11.2.0

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


cocci warnings: (new ones prefixed by >>)
>> drivers/net/phy/rtl8367s_mdio.c:2452:3-8: 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

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

end of thread, other threads:[~2022-02-10  1:42 UTC | newest]

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