Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2418726imj; Mon, 18 Feb 2019 05:46:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IbGCmBBK1f4pByHUjuqWss45FGQxX5MrfS9mlPVQmYI6ahZhicfdfYG1zJB/aI9NpYcZPQn X-Received: by 2002:a17:902:4025:: with SMTP id b34mr25720733pld.181.1550497586478; Mon, 18 Feb 2019 05:46:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497586; cv=none; d=google.com; s=arc-20160816; b=FxJfpFrSgYeWR9hhYJ9ziiGJXxyiA/D1Z53lmOUNz/a1qoU9fwxOZk3sMXAv0syx7p 19Q/7T8I1kRXgrSkDKRoMX68XD1O6QGbhYX9tk4+9b3oFIWEWsQ/ngaeUvi7vAhNCL/n iuj27gzqACsyLOVgDK2+X8Gm6bG6W3HuI7YfSMlAOjIvIIdQNMwbzzizTXLf3ckqwhWj lQ91x8xARNUXQ8w0F6dLw88/P/fcZIsTEMidD/b07UPbQ3XscZCM9m1bH6ljHJezZPK0 AOwJkylgQqSdoyAQLgAAMy/shVqULIRMuH2sEFKNo8ZsTu93s7M6Bkpp9JqOdUFZvtDy wtEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=NOnTZ3FIIHEyMiSyigDcDKcPMOFl2hFvQcpK0S9YMmw=; b=c0322Mr1441DAkDOHR8iRcA7ahW7uz/HUwL+8FjNJcDxVvKq3QUzDNeAbYHWvNqd3+ 765X8wRmB1TUOf351jnLpx+8jVvIwUVP6Mf33V4fXrscFFp6O/ExZ3RtFTB3XNBr4zoR fHtA+VtN6C6o+sK1QWG1mmAUMSXrTidMawazX36AHZFWWahUgo6yLGH9aF8lLxUHS9VJ G1z26E3vMRoD9D3ur7LT27/CIAhEuMoK7Hq7fCQ5iwjhq9Lm4CSMxHNQ7JVkBbKKR2Ll vh8rtzT+SjJhJlZF8Dzngbbxc4SmeCmBYfjUKVy2e+6xF+f5Hu3tFxUiJH6+HDtVMK2k JlQQ== 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 j9si12282161pgp.410.2019.02.18.05.46.10; Mon, 18 Feb 2019 05:46:26 -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 S1730972AbfBRNVU (ORCPT + 99 others); Mon, 18 Feb 2019 08:21:20 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:3666 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729064AbfBRNVT (ORCPT ); Mon, 18 Feb 2019 08:21:19 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E44F4920536E909093C9; Mon, 18 Feb 2019 21:21:15 +0800 (CST) Received: from [127.0.0.1] (10.177.31.96) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.408.0; Mon, 18 Feb 2019 21:21:12 +0800 Subject: Re: [PATCH -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings To: Julia Lawall References: <20190218125930.87548-1-yuehaibing@huawei.com> CC: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Oliver O'Halloran , Dan Williams , , , From: YueHaibing Message-ID: <88ec8c6a-68ac-a96c-0a82-b2537fc699f2@huawei.com> Date: Mon, 18 Feb 2019 21:21:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/2/18 20:53, Julia Lawall wrote: > > > 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. Yes, will fix it. > > 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, >> }, >> }; >> >> >> >> > > . >