From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755298AbaLVPL5 (ORCPT ); Mon, 22 Dec 2014 10:11:57 -0500 Received: from mga02.intel.com ([134.134.136.20]:35249 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755247AbaLVPLz (ORCPT ); Mon, 22 Dec 2014 10:11:55 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,624,1413270000"; d="scan'208";a="627743135" Date: Mon, 22 Dec 2014 20:41:16 +0530 From: Vinod Koul To: kbuild test robot Cc: Laurent Pinchart , kbuild-all@01.org, Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: rcar-dmac: fix platform_no_drv_owner.cocci warnings Message-ID: <20141222151116.GK16827@intel.com> References: <201412181212.KWu8yaD9%fengguang.wu@intel.com> <20141218041556.GA85607@athens> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141218041556.GA85607@athens> 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 Thu, Dec 18, 2014 at 12:15:56PM +0800, kbuild test robot wrote: > drivers/dma/sh/rcar-dmac.c:1490: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 > > Signed-off-by: Fengguang Wu Laurent, I am assuming you will apply/fold this one? -- ~Vinod > --- > > rcar-dmac.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/dma/sh/rcar-dmac.c > +++ b/drivers/dma/sh/rcar-dmac.c > @@ -1487,7 +1487,6 @@ MODULE_DEVICE_TABLE(of, rcar_dmac_of_ids > > static struct platform_driver rcar_dmac_driver = { > .driver = { > - .owner = THIS_MODULE, > .pm = &rcar_dmac_pm, > .name = "rcar-dmac", > .of_match_table = rcar_dmac_of_ids, --