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=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 E8D4AC43219 for ; Sun, 28 Apr 2019 11:24:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE62C2075D for ; Sun, 28 Apr 2019 11:24:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="hiQoakOR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726546AbfD1LYs (ORCPT ); Sun, 28 Apr 2019 07:24:48 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:14787 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbfD1LYs (ORCPT ); Sun, 28 Apr 2019 07:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1556450688; x=1587986688; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=xG4Hg+vJh8AiCWU96vXZUw5+0Ad8aUOexX6kLP9nW7Y=; b=hiQoakORL4K9EPfouSw/qydXi5coB512E/29E1hczJY3C+7cWwwQx9Kk diZeXHjXjjkmrjCodL20c0U61e6cnPELbgxdpXR1nj554KTY1hs2OgW7J 5uO7E/6BEKKLDn3hTGy1Z9NC50FXPh7ClA832XJeAlFchXGDmWnZUKoNK 0=; X-IronPort-AV: E=Sophos;i="5.60,405,1549929600"; d="scan'208";a="399985727" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Apr 2019 11:24:46 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id x3SBOhkn045175 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 28 Apr 2019 11:24:44 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 28 Apr 2019 11:24:44 +0000 Received: from [10.54.3.159] (10.43.160.63) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 28 Apr 2019 11:24:40 +0000 Subject: Re: [PATCH] thermal: fix platform_no_drv_owner.cocci warnings To: kbuild test robot , Eduardo Valentin CC: , , David Woodhouse , Daniel Lezcano References: <201904240343.b2RBtBuM%lkp@intel.com> <20190423193207.GA21807@ivb42> From: "Shenhar, Talel" Message-ID: Date: Sun, 28 Apr 2019 14:24:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190423193207.GA21807@ivb42> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.43.160.63] X-ClientProxiedBy: EX13D17UWC001.ant.amazon.com (10.43.162.188) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Acked-by: Talel Shenhar On 4/23/2019 10:32 PM, kbuild test robot wrote: > From: kbuild test robot > > drivers/thermal/thermal_mmio.c:120: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 > > Fixes: 35838aa51cd6 ("thermal: Introduce Amazon's Annapurna Labs Thermal Driver") > CC: Talel Shenhar > Signed-off-by: kbuild test robot > --- > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci > head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef > commit: 35838aa51cd6dbf5ae2c78ecd1d1df0cc0324256 [34/35] thermal: Introduce Amazon's Annapurna Labs Thermal Driver > > thermal_mmio.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/thermal/thermal_mmio.c > +++ b/drivers/thermal/thermal_mmio.c > @@ -117,7 +117,6 @@ static struct platform_driver thermal_mm > .probe = thermal_mmio_probe, > .driver = { > .name = "thermal-mmio", > - .owner = THIS_MODULE, > .of_match_table = of_match_ptr(thermal_mmio_id_table), > }, > };