[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 8 Aug 2016 11:17:31 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: Michal Simek <monstr@...str.eu>,
Dan Williams <dan.j.williams@...el.com>,
Sören Brinkmann <soren.brinkmann@...inx.com>,
Hyun Kwon <hyun.kwon@...inx.com>, kbuild-all@...org,
linux-arm-kernel@...ts.infradead.org, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix platform_no_drv_owner.cocci warnings
On Wed, Jul 27, 2016 at 04:41:16PM +0200, Julia Lawall wrote:
> No need to set .owner here. The core will do it.
And which tree was this generated against :-)
Upstream doesn't have _dpdma.c
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
> ---
>
> xilinx_dpdma.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/dma/xilinx/xilinx_dpdma.c
> +++ b/drivers/dma/xilinx/xilinx_dpdma.c
> @@ -1944,7 +1944,6 @@ static struct platform_driver xilinx_dpd
> .remove = xilinx_dpdma_remove,
> .driver = {
> .name = "xilinx-dpdma",
> - .owner = THIS_MODULE,
> .of_match_table = xilinx_dpdma_of_match,
> },
> };
--
~Vinod
Powered by blists - more mailing lists