All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: bridge: icn6211: fix platform_no_drv_owner.cocci warnings
  2022-04-01 11:12 [drm-misc:drm-misc-next 28/38] drivers/gpu/drm/bridge/chipone-icn6211.c:645:3-8: No need to set .owner here. The core will do it kernel test robot
@ 2022-04-01 11:07 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-01 11:07 UTC (permalink / raw)
  To: Marek Vasut; +Cc: kbuild-all, linux-kernel, Robert Foss

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

drivers/gpu/drm/bridge/chipone-icn6211.c:645: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

Fixes: 8dde6f7452a1 ("drm: bridge: icn6211: Add I2C configuration support")
CC: Marek Vasut <marex@denx.de>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   3d7039e1e64980a5eb424373b3a5843b7d7891aa
commit: 8dde6f7452a198a870f74a38118bb1a63da7632e [28/38] drm: bridge: icn6211: Add I2C configuration support
:::::: branch date: 19 hours ago
:::::: commit date: 20 hours ago

 drivers/gpu/drm/bridge/chipone-icn6211.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/gpu/drm/bridge/chipone-icn6211.c
+++ b/drivers/gpu/drm/bridge/chipone-icn6211.c
@@ -642,7 +642,6 @@ static struct i2c_driver chipone_i2c_dri
 	.id_table = chipone_i2c_id,
 	.driver = {
 		.name = "chipone-icn6211-i2c",
-		.owner = THIS_MODULE,
 		.of_match_table = chipone_of_match,
 	},
 };

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

* [drm-misc:drm-misc-next 28/38] drivers/gpu/drm/bridge/chipone-icn6211.c:645:3-8: No need to set .owner here. The core will do it.
@ 2022-04-01 11:12 kernel test robot
  2022-04-01 11:07 ` [PATCH] drm: bridge: icn6211: fix platform_no_drv_owner.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-04-01 11:12 UTC (permalink / raw)
  To: Marek Vasut; +Cc: kbuild-all, linux-kernel, Robert Foss

tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   3d7039e1e64980a5eb424373b3a5843b7d7891aa
commit: 8dde6f7452a198a870f74a38118bb1a63da7632e [28/38] drm: bridge: icn6211: Add I2C configuration support
config: arm-randconfig-c023-20220331 (https://download.01.org/0day-ci/archive/20220401/202204011947.10abPzIP-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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/gpu/drm/bridge/chipone-icn6211.c:645: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
https://01.org/lkp

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

end of thread, other threads:[~2022-04-01 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 11:12 [drm-misc:drm-misc-next 28/38] drivers/gpu/drm/bridge/chipone-icn6211.c:645:3-8: No need to set .owner here. The core will do it kernel test robot
2022-04-01 11:07 ` [PATCH] drm: bridge: icn6211: 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.