From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1BACC43381 for ; Thu, 21 Mar 2019 06:08:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C13AF218A5 for ; Thu, 21 Mar 2019 06:08:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EgpQgQCz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C13AF218A5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M+no6Awd5uWJfvGY4/2shREjHs2KDI5N1Euflglyl6Q=; b=EgpQgQCzAHVh2D c/mywnmOGI0JKR0NpX6t0uZ56X5KIiJkTnw6HHzTTEh0TroYDDXICbmozb/A9vSku35Ygzf2T39CU KRbu5esbVeTRm82GMxqPLlH3chT2DwlA6Gt+dOcl2NXF+MnjmVu45LoMhPWkfytY0uar5wnhAD3sL 74VbLYwJvNS0DNp5mRE8glpDRMIk3cv9HN/FdCH7CD6aPVC9efUP79FqS6wQUgkbqAmCUJFjlokYg 7cmuiVE9dHKGQViFQcmcKiH0GXCRz7qW7zUuGtfr6CcOp4zOC2/yMpmYa4mnnG2ljdlRHIU0xGtrq JwuAU5taYhbDUHKd/jaA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6qsF-0008F7-Aa; Thu, 21 Mar 2019 06:08:19 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6qsB-0008EP-In; Thu, 21 Mar 2019 06:08:17 +0000 X-UUID: 704db58598d846e48d0c2d52b63f3d27-20190320 X-UUID: 704db58598d846e48d0c2d52b63f3d27-20190320 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1916200882; Wed, 20 Mar 2019 22:07:55 -0800 Received: from mtkmbs03n1.mediatek.inc (172.21.101.181) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Mar 2019 23:07:53 -0700 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Mar 2019 14:07:52 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 21 Mar 2019 14:07:52 +0800 Message-ID: <1553148472.30977.82.camel@mtkswgap22> Subject: Re: [PATCH -next] scsi: ufs-mediatek: Fix platform_no_drv_owner.cocci warnings From: Stanley Chu To: YueHaibing Date: Thu, 21 Mar 2019 14:07:52 +0800 In-Reply-To: <20190321014517.11552-1-yuehaibing@huawei.com> References: <20190321014517.11552-1-yuehaibing@huawei.com> X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_230815_637109_0657C76A X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-scsi@vger.kernel.org, "Martin K. Petersen" , "James E.J. Bottomley" , kernel-janitors@vger.kernel.org, Avri Altman , linux-mediatek@lists.infradead.org, Alim Akhtar , Matthias Brugger , Pedro Sousa , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Thu, 2019-03-21 at 01:45 +0000, YueHaibing wrote: > Remove .owner field if calls are used which set it automatically > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: YueHaibing > --- > drivers/scsi/ufs/ufs-mediatek.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c > index c3b78fc83d3f..e9590bff5b5c 100644 > --- a/drivers/scsi/ufs/ufs-mediatek.c > +++ b/drivers/scsi/ufs/ufs-mediatek.c > @@ -358,7 +358,6 @@ static struct platform_driver ufs_mtk_pltform = { > .shutdown = ufshcd_pltfrm_shutdown, > .driver = { > .name = "ufshcd-mtk", > - .owner = THIS_MODULE, > .pm = &ufs_mtk_pm_ops, > .of_match_table = ufs_mtk_of_match, > }, > > This is redundant currently. Thanks for helping removing it. Reviewed-by: Stanley Chu Thanks, Stanley _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel