* [PATCH] staging: kpc2000: Fix: fix platform_no_drv_owner.cocci warnings
[not found] <201906220357.jo7Q9YJT%lkp@intel.com>
@ 2019-06-21 19:04 ` kbuild test robot
2019-06-22 5:34 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-06-21 19:04 UTC (permalink / raw)
To: Rishiraj Manwatkar
Cc: kbuild-all, Greg Kroah-Hartman, Vandana BN, Matt Sickler,
Simon Sandström, Valerio Genovese, devel, linux-kernel
From: kbuild test robot <lkp@intel.com>
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c:200: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: abddd78ef465 ("staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared")
CC: Rishiraj Manwatkar <manwatkar@outlook.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e2d28c40292bdc35553d599e5bbbeaefbab49416
commit: abddd78ef465b86fc89a3d9750bb76a138bc0859 [5641/8196] staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared
kpc_dma_driver.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
+++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
@@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_pl
.remove = kpc_dma_remove,
.driver = {
.name = KP_DRIVER_NAME_DMA_CONTROLLER,
- .owner = THIS_MODULE,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: kpc2000: Fix: fix platform_no_drv_owner.cocci warnings
2019-06-21 19:04 ` [PATCH] staging: kpc2000: Fix: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2019-06-22 5:34 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2019-06-22 5:34 UTC (permalink / raw)
To: kbuild test robot
Cc: Rishiraj Manwatkar, devel, Vandana BN, linux-kernel, kbuild-all,
Simon Sandström, Valerio Genovese
On Sat, Jun 22, 2019 at 03:04:08AM +0800, kbuild test robot wrote:
> From: kbuild test robot <lkp@intel.com>
>
> drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c:200: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: abddd78ef465 ("staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared")
> CC: Rishiraj Manwatkar <manwatkar@outlook.com>
> Signed-off-by: kbuild test robot <lkp@intel.com>
> ---
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: e2d28c40292bdc35553d599e5bbbeaefbab49416
> commit: abddd78ef465b86fc89a3d9750bb76a138bc0859 [5641/8196] staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared
>
> kpc_dma_driver.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
> +++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
> @@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_pl
> .remove = kpc_dma_remove,
> .driver = {
> .name = KP_DRIVER_NAME_DMA_CONTROLLER,
> - .owner = THIS_MODULE,
> },
> };
Already in my tree, I think you are a bit behind :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-22 5:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201906220357.jo7Q9YJT%lkp@intel.com>
2019-06-21 19:04 ` [PATCH] staging: kpc2000: Fix: fix platform_no_drv_owner.cocci warnings kbuild test robot
2019-06-22 5:34 ` Greg Kroah-Hartman
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).