Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7270028ybh; Thu, 8 Aug 2019 12:52:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcynIGIR3jJNIIhCaZ94+3wJuoZqyULJNZrg1I3FIt2fML/oMe56Z4Ntfx4VFLDUCwm9n1 X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr5651375pjq.64.1565293948077; Thu, 08 Aug 2019 12:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565293948; cv=none; d=google.com; s=arc-20160816; b=WlVtk3AeUHFxcPGRd43Ee6iu4QpeVjQQ+LIAkTOWggB9/ZJBZes9TmyZtwgpoMmfKP DeJc4prMrQVBn3gnuN9wfRwf0d7pKtSCJPUaAwlOwqIo7FPvIrplUO5m6l3yr+sRiDCX GS9tG+6gY1dbtf1ThmHhvUbD6dYZ8Co8sr3uLwFajqaL4WoZxFzlrvVea4B1knwHDCrS BxSLmwVZ5MzS73hNFAa8p6Y5ofB4c7qGpy/y8tmqCA/sQkPLfz3hx8wZMwHwKaurmF6D VoGHi0A+kL1c6ePyhBGszeiEFLRIi2E0tkYQjCnH41CH+LlJWDQPgoymzKwUDv1tuXxe VSJQ== 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=Ta+THl/AsviG8D/ptIdHFRfs/9rxvdWDFdwMBWhUIGQ=; b=OihAXlLxANLKQMSbP8DZVnplJ7CmLiM+fkSZn4F+g7RQbr4jA1JcUrffCmIMdgDF19 GPOVD7Z+BgXVllxxag5PmukNO9dVgJHcutbI8XaemKsatJUoZL5fdZDQzPAu+etzkZ9c SkqML6v+avNKnyGWbmXpB7jXr26OD5ldTuHv/OIfZDmZlbx4I7SqeODTsZv/XeWPbv5e wxpgdAlsJUaU8uIWr7LLBdEidDoO2ioSiqZiD6zWi5lK/hJIlsumZuwX9PWLtWqMK97o Guu8WQo+YGDYUHJmyo7GKLMQQWHb8JzH9TYAP/pKwDIEQ5BTD2fdjdaol6pcsgMGdd6e QapQ== 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 n20si49845525plp.395.2019.08.08.12.52.12; Thu, 08 Aug 2019 12:52:28 -0700 (PDT) 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 S1732942AbfHHTvi (ORCPT + 99 others); Thu, 8 Aug 2019 15:51:38 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:46774 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730678AbfHHTvi (ORCPT ); Thu, 8 Aug 2019 15:51:38 -0400 X-IronPort-AV: E=Sophos;i="5.64,362,1559512800"; d="scan'208";a="394890790" Received: from abo-12-105-68.mrs.modulonet.fr (HELO hadrien) ([85.68.105.12]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2019 21:51:35 +0200 Date: Thu, 8 Aug 2019 21:51:35 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Stephen Boyd cc: Jonas Gorski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Michael Turquette , Philippe Mathieu-Daud?? , Florian Fainelli , linux-kernel@vger.kernel.org, kbuild-all@01.org Subject: Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings In-Reply-To: <20190808194821.825AD21743@mail.kernel.org> Message-ID: References: <20190808194821.825AD21743@mail.kernel.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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 Thu, 8 Aug 2019, Stephen Boyd wrote: > Quoting Julia Lawall (2019-08-08 09:10:53) > > From: kbuild test robot > > > > drivers/clk/bcm/clk-bcm63xx-gate.c:174:1-9: WARNING: Use devm_platform_ioremap_resource for hw -> regs > > > > Use devm_platform_ioremap_resource helper which wraps > > platform_get_resource() and devm_ioremap_resource() together. > > > > Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci > > > > Fixes: 1c099779c1e2 ("clk: add BCM63XX gated clock controller driver") > > Is it fixing anything? As far as I can tell it's reducing lines of code > with another function. No, it doesn't fix anything. julia > > > CC: Jonas Gorski > > Signed-off-by: kbuild test robot > > Signed-off-by: Julia Lawall > >