All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dmaengine: fix platform_no_drv_owner.cocci warnings
       [not found] <201504120230.e8de6v3t%fengguang.wu@intel.com>
@ 2015-04-11 18:18 ` kbuild test robot
  2015-04-17 18:13   ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-04-11 18:18 UTC (permalink / raw)
  To: Rameshwar Prasad Sahu
  Cc: kbuild-all, Vinod Koul, Loc Ho, Dan Williams, dmaengine, linux-kernel

drivers/dma/xgene-dma.c:2079: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

CC: Rameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 xgene-dma.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/dma/xgene-dma.c
+++ b/drivers/dma/xgene-dma.c
@@ -2076,7 +2076,6 @@ static struct platform_driver xgene_dma_
 	.remove = xgene_dma_remove,
 	.driver = {
 		.name = "X-Gene-DMA",
-		.owner = THIS_MODULE,
 		.of_match_table = xgene_dma_of_match_ptr,
 	},
 };

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

* Re: [PATCH] dmaengine: fix platform_no_drv_owner.cocci warnings
  2015-04-11 18:18 ` [PATCH] dmaengine: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2015-04-17 18:13   ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2015-04-17 18:13 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Rameshwar Prasad Sahu, kbuild-all, Loc Ho, Dan Williams,
	dmaengine, linux-kernel

On Sun, Apr 12, 2015 at 02:18:34AM +0800, kbuild test robot wrote:
> drivers/dma/xgene-dma.c:2079: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
Applied, thanks

-- 
~Vinod


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

end of thread, other threads:[~2015-04-17 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201504120230.e8de6v3t%fengguang.wu@intel.com>
2015-04-11 18:18 ` [PATCH] dmaengine: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-04-17 18:13   ` Vinod Koul

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.