From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbcHHFjx (ORCPT ); Mon, 8 Aug 2016 01:39:53 -0400 Received: from mga01.intel.com ([192.55.52.88]:1532 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbcHHFjw (ORCPT ); Mon, 8 Aug 2016 01:39:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,488,1464678000"; d="scan'208";a="745616030" Date: Mon, 8 Aug 2016 11:17:31 +0530 From: Vinod Koul To: Julia Lawall Cc: Michal Simek , Dan Williams , =?iso-8859-1?Q?S=F6ren?= Brinkmann , Hyun Kwon , kbuild-all@01.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20160808054731.GS9681@localhost> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Fengguang Wu > --- > > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: vinod.koul@intel.com (Vinod Koul) Date: Mon, 8 Aug 2016 11:17:31 +0530 Subject: [PATCH] fix platform_no_drv_owner.cocci warnings In-Reply-To: References: Message-ID: <20160808054731.GS9681@localhost> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Signed-off-by: Fengguang Wu > --- > > 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