All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 2648/5074] drivers/auxdisplay/lcd2s.c:373:3-8: No need to set .owner here. The core will do it.
@ 2020-11-11  9:25 kernel test robot
  2020-11-11  9:25 ` [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings kernel test robot
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2020-11-11  9:25 UTC (permalink / raw)
  To: Lars Poeschel; +Cc: kbuild-all, Linux Memory Management List, Miguel Ojeda

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3e14f70c05cda4794901ed8f976de3a88deebcc0
commit: 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b [2648/5074] auxdisplay: add a driver for lcd2s character display
config: mips-randconfig-c004-20201110 (attached as .config)
compiler: mips64-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/auxdisplay/lcd2s.c:373: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

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

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

* [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings
  2020-11-11  9:25 [linux-next:master 2648/5074] drivers/auxdisplay/lcd2s.c:373:3-8: No need to set .owner here. The core will do it kernel test robot
@ 2020-11-11  9:25 ` kernel test robot
  2020-11-14  8:54     ` Miguel Ojeda
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2020-11-11  9:25 UTC (permalink / raw)
  To: Lars Poeschel
  Cc: kbuild-all, Linux Memory Management List, Miguel Ojeda,
	Miguel Ojeda Sandonis, linux-kernel

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

drivers/auxdisplay/lcd2s.c:373: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: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display")
CC: Lars Poeschel <poeschel@lemonage.de>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3e14f70c05cda4794901ed8f976de3a88deebcc0
commit: 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b [2648/5074] auxdisplay: add a driver for lcd2s character display

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

--- a/drivers/auxdisplay/lcd2s.c
+++ b/drivers/auxdisplay/lcd2s.c
@@ -370,7 +370,6 @@ MODULE_DEVICE_TABLE(of, lcd2s_of_table);
 static struct i2c_driver lcd2s_i2c_driver = {
 	.driver = {
 		.name = "lcd2s",
-		.owner = THIS_MODULE,
 #ifdef CONFIG_OF
 		.of_match_table = of_match_ptr(lcd2s_of_table),
 #endif

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

* Re: [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings
  2020-11-11  9:25 ` [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings kernel test robot
@ 2020-11-14  8:54     ` Miguel Ojeda
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2020-11-14  8:54 UTC (permalink / raw)
  To: kernel test robot
  Cc: Lars Poeschel, kbuild-all, Linux Memory Management List,
	Miguel Ojeda, linux-kernel

On Wed, Nov 11, 2020 at 10:26 AM kernel test robot <lkp@intel.com> wrote:
>
> From: kernel test robot <lkp@intel.com>
>
> drivers/auxdisplay/lcd2s.c:373: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: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display")
> CC: Lars Poeschel <poeschel@lemonage.de>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: kernel test robot <lkp@intel.com>

Lars, I am picking this one, just so that you know.

Cheers,
Miguel

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

* Re: [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings
@ 2020-11-14  8:54     ` Miguel Ojeda
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2020-11-14  8:54 UTC (permalink / raw)
  To: kernel test robot
  Cc: Lars Poeschel, kbuild-all, Linux Memory Management List,
	Miguel Ojeda, linux-kernel

On Wed, Nov 11, 2020 at 10:26 AM kernel test robot <lkp@intel.com> wrote:
>
> From: kernel test robot <lkp@intel.com>
>
> drivers/auxdisplay/lcd2s.c:373: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: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display")
> CC: Lars Poeschel <poeschel@lemonage.de>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: kernel test robot <lkp@intel.com>

Lars, I am picking this one, just so that you know.

Cheers,
Miguel


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

end of thread, other threads:[~2020-11-14  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  9:25 [linux-next:master 2648/5074] drivers/auxdisplay/lcd2s.c:373:3-8: No need to set .owner here. The core will do it kernel test robot
2020-11-11  9:25 ` [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings kernel test robot
2020-11-14  8:54   ` Miguel Ojeda
2020-11-14  8:54     ` Miguel Ojeda

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.