linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings
@ 2021-11-03 16:17 Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2021-11-03 16:17 UTC (permalink / raw)
  To: Brian Kim; +Cc: kbuild-all, linux-kernel, Dongjin Kim, memeka, Yang Deokgyu

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

No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Brian Kim <brian.kim@hardkernel.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
---

tree:   https://github.com/tobetter/linux odroid-5.15.y
head:   49f1393b8740941fa5176620b302f25ab5f786dc
commit: 61f45d975621becb00c0aef303769f10428b9cd8 [21/75] ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access
:::::: branch date: 4 hours ago
:::::: commit date: 6 hours ago

 exynos-gpiomem.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/char/exynos-gpiomem.c
+++ b/drivers/char/exynos-gpiomem.c
@@ -255,7 +255,6 @@ MODULE_DEVICE_TABLE(of, exynos_gpiomem_o
 static struct platform_driver exynos_gpiomem_driver = {
 	.driver			= {
 		.name		= DRIVER_NAME,
-		.owner		= THIS_MODULE,
 		.of_match_table	= exynos_gpiomem_of_match,
 	},
 	.probe			= exynos_gpiomem_probe,

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

* [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings
@ 2021-08-28 11:10 Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2021-08-28 11:10 UTC (permalink / raw)
  To: Brian Kim; +Cc: Dongjin Kim, Yang Deokgyu, memeka, kbuild-all, linux-kernel

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

No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Brian Kim <brian.kim@hardkernel.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
---

I also received the following warning, which you may want to look into:

drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free
on line 229


tree:   https://github.com/tobetter/linux odroid-5.14.y
head:   62bd983c27712ddb2dccb2efe9cdc3a086daf8e0
commit: 7b9acbf68d2938b1533c176b4bdd7becdb40bfc1 [21/68] ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access
:::::: branch date: 14 hours ago
:::::: commit date: 14 hours ago

 exynos-gpiomem.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/char/exynos-gpiomem.c
+++ b/drivers/char/exynos-gpiomem.c
@@ -255,7 +255,6 @@ MODULE_DEVICE_TABLE(of, exynos_gpiomem_o
 static struct platform_driver exynos_gpiomem_driver = {
 	.driver			= {
 		.name		= DRIVER_NAME,
-		.owner		= THIS_MODULE,
 		.of_match_table	= exynos_gpiomem_of_match,
 	},
 	.probe			= exynos_gpiomem_probe,

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

end of thread, other threads:[~2021-11-03 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 16:17 [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2021-08-28 11:10 Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).