* [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings [not found] <202011111755.9Uwp2gF6-lkp@intel.com> @ 2020-11-11 9:25 ` kernel test robot 2020-11-14 8:54 ` Miguel Ojeda 0 siblings, 1 reply; 2+ 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] 2+ 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; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2020-11-14 8:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <202011111755.9Uwp2gF6-lkp@intel.com>
2020-11-11 9:25 ` [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings kernel test robot
2020-11-14 8:54 ` Miguel Ojeda
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®