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=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 A4FCBC41514 for ; Thu, 8 Aug 2019 19:48:24 +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 787DB2173E for ; Thu, 8 Aug 2019 19:48:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K4oYPVoQ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="IJRA09Pf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 787DB2173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:Message-Id:Date:To:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BHBL+O3prieH/fYdoWDcTEGtsdjYTW4pF3C3XFLmV4c=; b=K4oYPVoQImC1T8 WJMNiKiIxZ8P6m9VUFWI06vD4yvkpQgTMt8AgrEQlWyfKRu7QHvWZNH4GIphqPqYzDuQ9BB2wiam6 F9UbVkyTcEImQclj4p/0ztSEFHVdkzfjbh9hr+2V+xf3ZtKcTf7VR4FwL7K2LLE+OV6tYhuha3KoK VX69WbX3zQ4PSUqFQRH9Q9yt+ENYoVaqnaB6BaCAGhVqd7al9Z1yrMFQ/GjpUXItW1eLzLdA8DjrE a8sqdgk4X6ln4oEiWx3qlzMvs7uujZP2sROm2+Hdttd00Un/dD9K2QWbNlUXQDem4aZNVfWuVjzi4 iY0kbw67JH+1aEGH2LNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvoOe-0003Eo-4g; Thu, 08 Aug 2019 19:48:24 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvoOb-0003EW-Tj for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2019 19:48:23 +0000 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 825AD21743; Thu, 8 Aug 2019 19:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565293701; bh=4WUS76RX+FiZef2BNrBwnS2eID3LAJlXHfM9bsTyhPQ=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=IJRA09PfOX3V5eyUEyDGjC/OBcbfWcmDQ0XQ7L9wIKQ6+RMXlYQT1VNCPahIjZiIi VCvxME+Pc3SgOsNZigL4EP3OhHEWfhzbRurqqROrMBmZP1n5IWGvAWwcX8gmwejK04 FyAGBCHl2mmJUkTNA8xOOdYNjTyzcQwixsPszDQg= MIME-Version: 1.0 In-Reply-To: References: Subject: Re: [PATCH] clk: fix devm_platform_ioremap_resource.cocci warnings From: Stephen Boyd To: Jonas Gorski , Julia Lawall User-Agent: alot/0.8.1 Date: Thu, 08 Aug 2019 12:48:20 -0700 Message-Id: <20190808194821.825AD21743@mail.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190808_124821_973868_B7B3EACB X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Michael Turquette , Philippe Mathieu-Daud?? , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, kbuild-all@01.org, linux-clk@vger.kernel.org, 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 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. > CC: Jonas Gorski > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel