Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3808563ybi; Tue, 18 Jun 2019 06:53:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAoaBy1xk8M/neKtKn21jqASc6qY0dnMLuL1t0GQ/49F1J4ZBjMFHPU5gn9f8ydC8G0k5q X-Received: by 2002:a17:902:8649:: with SMTP id y9mr36625620plt.289.1560866017478; Tue, 18 Jun 2019 06:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560866017; cv=none; d=google.com; s=arc-20160816; b=wAa8g4E6ggmF8jAJGFWl8TmopfcxuiAlYCJ+6nASmsulC0aljTHZeKTFqXYOsCIUtw B2z4S7UJZvI0TTjec38j+cC9ilDTAzwUcVQDQdKZ8AXpsobq9dO6VIhPsXM1Kt8ts7SI yXQ1HqRQ5fjh9payCCe29+AChmObIdSqZIlWcKdCaqk2Gh2b+0WsyOT+rLvbKEeL0/nM KJx6wBRWfKovkUl0UGc5neafWr7coW6tO7gXvb4WfSFXwrgE/iK8n05i2pXoumVHEtOg 3NfMMRD0/WxVanIZSmNdtSDxtI1x6vUiueQc98uV57inK4gFkCCmryChAmtkm3Mlx1b1 mQFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=V/q4mYeWbhzG4mluYOK3emQt6O9KB4g3lyR9lno6o9Y=; b=FJa8L1a6Mw/+J7JUGDMuU/R2LB8F84BhR4MdfKTFhcKRaLoQm21uUJOkpXJ3ginLAm 1LvsqwZK+H5X0hJdmQXW9Fd5UAvXOe2oXlx9XNufvLPjQdi3ugo+58pMQxqEgJVpeSaz mbNmX2g7/GQB6x3l9wr64oIi1ZUwn/U3ovupl0tE2HTosTsTnQjBioZl/RvMpDY5bfKL PstKVDojwACd5H7OOgdGpRQN2bwdbn4y7m4NzioeGtt1nm1ys+jF2HRpsoAc9UANfN3x 9MCueJU8aOsPq6QHFXV/hr02hH/N99W7ZHccPwO2HJfbBCWt++OpYZDQaCg4oCKeDVXY MHiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UDRfkb10; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si259706pgs.290.2019.06.18.06.53.21; Tue, 18 Jun 2019 06:53:37 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=UDRfkb10; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729087AbfFRNwr (ORCPT + 99 others); Tue, 18 Jun 2019 09:52:47 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:46938 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfFRNwr (ORCPT ); Tue, 18 Jun 2019 09:52:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/q4mYeWbhzG4mluYOK3emQt6O9KB4g3lyR9lno6o9Y=; b=UDRfkb10GftxLU8/5KRFfjN3B w/GohzNcLQPqzrUmdtGo2A6hO2NNQf9WgSI3u4kDq/jIwmxFBJNMwAC14m18MW2y1/jYiZYBr3Nh+ LFsVKsj7AWOBxJGLEYgEkJFsIywahuGspOJD1QKM0JxMkPxOntbPETb3fnaHYKXOzod/khT3JybqT qoFOzGhrcavv2e4yLDhFPLNUV4vg/QdopjFdQhAyCaLfOgdbSAMWGNp8vL7PH2pS2aiIyKNkQjCOQ +79OeJNKHbK4ej+Qls3G4YvEgnJaZFajHUOGw+An5N7SX6OY7625AijjtYbk8ZyPghb5pGe4Vqgg4 qZo6gDnVQ==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:58900) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hdEXO-0002SS-Ns; Tue, 18 Jun 2019 14:52:38 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1hdEXM-0000Vq-Bq; Tue, 18 Jun 2019 14:52:36 +0100 Date: Tue, 18 Jun 2019 14:52:36 +0100 From: Russell King - ARM Linux admin To: Shawn Guo Cc: Ding Xiang , Arnd Bergmann , Olof Johansson , jun.nie@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] Arm: zx: remove redundant dev_err message Message-ID: <20190618135236.32qjlxfgt5rcety5@shell.armlinux.org.uk> References: <1560843541-11611-1-git-send-email-dingxiang@cmss.chinamobile.com> <20190618134634.GL1959@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190618134634.GL1959@dragon> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 09:46:36PM +0800, Shawn Guo wrote: > On Tue, Jun 18, 2019 at 03:39:01PM +0800, Ding Xiang wrote: > > devm_ioremap_resource already contains error message, so remove > > the redundant dev_err message > > > > Signed-off-by: Ding Xiang > > Acked-by: Shawn Guo > > Arnd, Olof, > > Can you please apply it to arm-soc tree? Thanks. > > Shawn > > > --- > > arch/arm/mach-zx/zx296702-pm-domain.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > diff --git a/arch/arm/mach-zx/zx296702-pm-domain.c b/arch/arm/mach-zx/zx296702-pm-domain.c > > index 7a08bf9d..ac44ea8 100644 > > --- a/arch/arm/mach-zx/zx296702-pm-domain.c > > +++ b/arch/arm/mach-zx/zx296702-pm-domain.c > > @@ -169,10 +169,8 @@ static int zx296702_pd_probe(struct platform_device *pdev) > > } > > > > pcubase = devm_ioremap_resource(&pdev->dev, res); > > - if (IS_ERR(pcubase)) { > > - dev_err(&pdev->dev, "ioremap fail.\n"); > > + if (IS_ERR(pcubase)) > > return -EIO; Shouldn't the error return also get fixed? > > - } > > > > for (i = 0; i < ARRAY_SIZE(zx296702_pm_domains); ++i) > > pm_genpd_init(zx296702_pm_domains[i], NULL, false); > > -- > > 1.9.1 > > > > > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up