Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2409664imj; Mon, 18 Feb 2019 05:36:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IZKu5/R0UGw/auhLXa3IPSqvvVnAEcj3ZkVe3ZNDeU+lGpFIZRa74py1GpePqEtNZcXIKrX X-Received: by 2002:a62:6f88:: with SMTP id k130mr24120063pfc.234.1550496999629; Mon, 18 Feb 2019 05:36:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550496999; cv=none; d=google.com; s=arc-20160816; b=U+Ki2jHefSTh9I1fRc8YSbQsQKtSrzIpuyL5lzqhuRPiiUwxnkFQPyRfz9RJZpw9tA U9HAkBWcMRqdNkpZoB2lWamKFOH3ncTNLsuVWsNC7FPBhVsBLZ7/77Y572kU1KD07zZE SYYVijNSe2kLolgy5cnSYQ43kV03UiAPm3AYQZHiQT15R/1DhtblfaVvZLqzsHJdWUM3 41zsYqAjvlyZUOUR48D0fC2G6dQJ57cyHvymGXXsAKNotFcYINJ1qTT4QXR+9e6+usce 9IGIgwjG97YTexWchUpwxuoG2laHApzSncXgcFSy5shmFv6NcFl0fGkmQas8cI9XrYej 4vNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=p9oazcmaeekcxKZbvMLEGkdjk5fTDp4gILASQCjmZzU=; b=x69lenD8gRgpPjB1kQICz49/noFQ7m6de/bsUP6egzMJAzFv4s5jgY7O4quczxYYhI ueROcF9oJfCY5Ra488QW+9xyB/pAvruJgcwpf8LmqfQPZL5qfayIyjP7uByfwqTaFKZH gtJ8Gy07L7Wd1+v3KH7KIM1YziwZH8MT5ULF8v795n5PyKmEFExWSZzA5zFuK1u1XWkK 9Op21VCdArFQv6d5DfTeHgrkzfHWQvVdjlQE/nY3eUNRC1bByKKoHk7hPCHRB0YETMxc QArhxoL1i7eS8ADSKSlQmMGg0jgznKkROl4Geek9odRsoUjnMzxS9ptj6V5SxViTXvvd jJNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n78si6552578pfi.243.2019.02.18.05.35.47; Mon, 18 Feb 2019 05:36:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730129AbfBRMxg (ORCPT + 99 others); Mon, 18 Feb 2019 07:53:36 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:17585 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729203AbfBRMxg (ORCPT ); Mon, 18 Feb 2019 07:53:36 -0500 X-IronPort-AV: E=Sophos;i="5.58,384,1544482800"; d="scan'208";a="296526836" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Feb 2019 13:53:30 +0100 Date: Mon, 18 Feb 2019 13:53:29 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: YueHaibing cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Oliver O'Halloran , Dan Williams , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings In-Reply-To: <20190218125930.87548-1-yuehaibing@huawei.com> Message-ID: References: <20190218125930.87548-1-yuehaibing@huawei.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Feb 2019, 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 > --- > arch/powerpc/platforms/pseries/papr_scm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/platforms/pseries/papr_scm.c b/arch/powerpc/platforms/pseries/papr_scm.c > index bba281b1fe1b..e3f5c1a01950 100644 > --- a/arch/powerpc/platforms/pseries/papr_scm.c > +++ b/arch/powerpc/platforms/pseries/papr_scm.c > @@ -21,6 +21,7 @@ > (1ul << ND_CMD_GET_CONFIG_DATA) | \ > (1ul << ND_CMD_SET_CONFIG_DATA)) > > + No need to add a blank line. julia > struct papr_scm_priv { > struct platform_device *pdev; > struct device_node *dn; > @@ -358,7 +359,6 @@ static struct platform_driver papr_scm_driver = { > .remove = papr_scm_remove, > .driver = { > .name = "papr_scm", > - .owner = THIS_MODULE, > .of_match_table = papr_scm_match, > }, > }; > > > >