All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvdla: fix platform_no_drv_owner.cocci warnings
  2022-01-19  6:07 ` kernel test robot
@ 2022-01-19  6:00   ` kernel test robot
  -1 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-19  6:00 UTC (permalink / raw)
  To: Emil Renner Berthing; +Cc: kbuild-all, linux-kernel

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

drivers/nvdla/nvdla_core_callbacks.c:437: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/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module
:::::: branch date: 6 hours ago
:::::: commit date: 9 days ago

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

--- a/drivers/nvdla/nvdla_core_callbacks.c
+++ b/drivers/nvdla/nvdla_core_callbacks.c
@@ -434,7 +434,6 @@ static struct platform_driver nvdla_driv
 	.probe = nvdla_probe,
 	.remove = __exit_p(nvdla_remove),
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "NVDLA",
 		.of_match_table = of_match_ptr(nvdla_of_match),
 	},

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

* [PATCH] nvdla: fix platform_no_drv_owner.cocci warnings
@ 2022-01-19  6:00   ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-19  6:00 UTC (permalink / raw)
  To: kbuild-all

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

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

drivers/nvdla/nvdla_core_callbacks.c:437: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/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module
:::::: branch date: 6 hours ago
:::::: commit date: 9 days ago

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

--- a/drivers/nvdla/nvdla_core_callbacks.c
+++ b/drivers/nvdla/nvdla_core_callbacks.c
@@ -434,7 +434,6 @@ static struct platform_driver nvdla_driv
 	.probe = nvdla_probe,
 	.remove = __exit_p(nvdla_remove),
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "NVDLA",
 		.of_match_table = of_match_ptr(nvdla_of_match),
 	},

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

* [esmil:visionfive 73/80] drivers/nvdla/nvdla_core_callbacks.c:437:3-8: No need to set .owner here. The core will do it.
@ 2022-01-19  6:07 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-19  6:07 UTC (permalink / raw)
  To: Emil Renner Berthing; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module
config: alpha-randconfig-c003-20220119 (https://download.01.org/0day-ci/archive/20220119/202201191448.hkrxXxgW-lkp@intel.com/config)
compiler: alpha-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/nvdla/nvdla_core_callbacks.c:437: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@lists.01.org

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

* [esmil:visionfive 73/80] drivers/nvdla/nvdla_core_callbacks.c:437:3-8: No need to set .owner here. The core will do it.
@ 2022-01-19  6:07 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-19  6:07 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module
config: alpha-randconfig-c003-20220119 (https://download.01.org/0day-ci/archive/20220119/202201191448.hkrxXxgW-lkp(a)intel.com/config)
compiler: alpha-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/nvdla/nvdla_core_callbacks.c:437: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] 4+ messages in thread

end of thread, other threads:[~2022-01-19  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  6:07 [esmil:visionfive 73/80] drivers/nvdla/nvdla_core_callbacks.c:437:3-8: No need to set .owner here. The core will do it kernel test robot
2022-01-19  6:07 ` kernel test robot
2022-01-19  6:00 ` [PATCH] nvdla: fix platform_no_drv_owner.cocci warnings kernel test robot
2022-01-19  6:00   ` 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.