All of lore.kernel.org
 help / color / mirror / Atom feed
* [dinguyen:socfpga-5.7_v1 8/57] drivers/misc/altera_ilc.c:276:3-8: No need to set .owner here. The core will do it.
@ 2020-06-04 12:51 kernel test robot
  2020-06-04 12:51 ` [PATCH] FogBugz #236669: fix platform_no_drv_owner.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-06-04 12:51 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git socfpga-5.7_v1
head:   615558e92b04e1e40b901de5b681b7da65205996
commit: 9436cc72e21fb3ea3f15171a72fa0c16cfabab63 [8/57] FogBugz #236669: Add a Kconfig for ILC driver
config: sh-randconfig-c003-20200604 (attached as .config)
compiler: sh4-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>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/misc/altera_ilc.c:276: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

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

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

* [PATCH] FogBugz #236669: fix platform_no_drv_owner.cocci warnings
  2020-06-04 12:51 [dinguyen:socfpga-5.7_v1 8/57] drivers/misc/altera_ilc.c:276:3-8: No need to set .owner here. The core will do it kernel test robot
@ 2020-06-04 12:51 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-04 12:51 UTC (permalink / raw)
  To: kbuild-all

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

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

drivers/misc/altera_ilc.c:276: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: 9436cc72e21f ("FogBugz #236669: Add a Kconfig for ILC driver")
CC: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git socfpga-5.7_v1
head:   615558e92b04e1e40b901de5b681b7da65205996
commit: 9436cc72e21fb3ea3f15171a72fa0c16cfabab63 [8/57] FogBugz #236669: Add a Kconfig for ILC driver

 altera_ilc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/misc/altera_ilc.c
+++ b/drivers/misc/altera_ilc.c
@@ -273,7 +273,6 @@ MODULE_DEVICE_TABLE(of, altera_ilc_match
 static struct platform_driver altera_ilc_platform_driver = {
 	.driver = {
 		.name		= DRV_NAME,
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(altera_ilc_match),
 	},
 	.remove			= altera_ilc_remove,

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

end of thread, other threads:[~2020-06-04 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04 12:51 [dinguyen:socfpga-5.7_v1 8/57] drivers/misc/altera_ilc.c:276:3-8: No need to set .owner here. The core will do it kernel test robot
2020-06-04 12:51 ` [PATCH] FogBugz #236669: 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.