All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Brian Kim <brian.kim@hardkernel.com>
Cc: Dongjin Kim <tobetter@gmail.com>,
	Yang Deokgyu <secugyu@gmail.com>, memeka <mihailescu2m@gmail.com>,
	kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings
Date: Sat, 28 Aug 2021 13:10:25 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2108281308150.10588@hadrien> (raw)

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,

WARNING: multiple messages have this Message-ID (diff)
From: Julia Lawall <julia.lawall@inria.fr>
To: kbuild-all@lists.01.org
Subject: [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings
Date: Sat, 28 Aug 2021 13:10:25 +0200	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2108281308150.10588@hadrien> (raw)

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

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,

             reply	other threads:[~2021-08-28 11:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-28 11:10 Julia Lawall [this message]
2021-08-28 11:10 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2021-11-03 16:17 Julia Lawall
2021-11-03 16:17 ` Julia Lawall
2021-11-03 13:33 [tobetter:odroid-5.15.y 21/75] drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free on line 229 kernel test robot
2021-11-03 13:33 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings kernel test robot
2021-08-25 17:02 [tobetter-linux:odroid-5.14.y 21/68] drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free on line 229 kernel test robot
2021-08-25 17:02 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings kernel test robot
2021-08-25  8:12 [tobetter-linux:odroid-5.14.y 21/68] drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free on line 229 kernel test robot
2021-08-25  8:12 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings kernel test robot
2021-01-12  8:02 [tobetter-linux:odroid-5.11.y 51/84] drivers/char/exynos-gpiomem.c:231:15-18: ERROR: inst is NULL but dereferenced kernel test robot
2021-01-12  8:02 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings kernel test robot
2020-09-08  9:39 Julia Lawall
2020-09-08  9:39 ` Julia Lawall
2020-09-08  9:39 ` Julia Lawall
2020-09-08 10:04 ` Krzysztof Kozlowski
2020-09-08 10:04   ` Krzysztof Kozlowski
2020-09-08 10:04   ` Krzysztof Kozlowski
2020-09-08  6:02 [tobetter-linux:odroid-5.9.y 53/69] drivers/char/exynos-gpiomem.c:231:15-18: ERROR: inst is NULL but dereferenced kernel test robot
2020-09-08  6:02 ` [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2108281308150.10588@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=brian.kim@hardkernel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mihailescu2m@gmail.com \
    --cc=secugyu@gmail.com \
    --cc=tobetter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.