Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18208379ybl; Thu, 2 Jan 2020 20:59:56 -0800 (PST) X-Google-Smtp-Source: APXvYqz3kiX7Np/TyE/9njj0y+wzybrtoSXZWUdKA4wSzoWJyCSmC+aiTHILpWrvqcAktYjObkDK X-Received: by 2002:a9d:32c7:: with SMTP id u65mr78676136otb.224.1578027596899; Thu, 02 Jan 2020 20:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578027596; cv=none; d=google.com; s=arc-20160816; b=DD07JTung9p85lm016L/oiRIkT5iMlK1HEpB+ifZLEvRL21ehcgyTOp7XjXo/so3jP mUwyvcZN3R838BwuCnk2sV+clD0F/Rep4pxLTn2LqIX2u5gdiL2/nQ7FU8TuD86tTSZm vsXvHm4XLZqoZ+0ZMYWHcW1bQ2k2bnY45QiuUFyCp+FbuO8WXvYjjesYWqbvPqiona0i ru+HIjZPoF/JUWs1yHRrOFfoBI8li6eIVYnI1d1de1gtEvTW8zRgcuDRzwjGsA6OaUmm hKFktxhaaRB1v6UdULIToV6aJP2w+JvTaBG7iWvidhd4J7NF2k1IVzdVu53Whk6EudmN lTOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aI+2u/HpPBiuykMreYIKZGWs5PKmJVun0XNlugn6rAc=; b=BSCcT2PA9jHrzsiWdEAbTbF5gdejoixVtWR/gUIr56h35LAugsg+OgGbpEgiHnfvrC Q6DNdULKkilWL0/ilnvZZyCGJQZk8tFM1nOiE+QCIpZT3QDIXXDvPuRsMeD4w7Kr4eOl /k2MOKKOUIQP1DEvtz7JPqa0cQbHReyP/8xlgbClJi5omL8NVse4CsY18X7oySNoLX5W oJHxsv4v48ecbbbn5dvaaXIuLjZispuUbM0EtQpDXCVJqwZqvktSWV/j5xUm102hn/cu SLyY9Q9z+9OApwh2q1ByDBfnDl7ngTnjEiWIRm98Vrq5XBmKIYnHw/KaLVBSXgpJFVSM pIWQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12si14771137oto.125.2020.01.02.20.59.44; Thu, 02 Jan 2020 20:59:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727280AbgACE7G (ORCPT + 99 others); Thu, 2 Jan 2020 23:59:06 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42845 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgACE7G (ORCPT ); Thu, 2 Jan 2020 23:59:06 -0500 Received: by mail-pl1-f193.google.com with SMTP id p9so18630889plk.9; Thu, 02 Jan 2020 20:59:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=aI+2u/HpPBiuykMreYIKZGWs5PKmJVun0XNlugn6rAc=; b=CHHPPY+9q0N3Tle6VrCE1JCQ3wS+ROf23CNoSGVrX7gs4+uUqR/ysZWr0WA6EME1Fl QfO785HCs0PBLaVevL+IkfMkYKODs4tsTijNekJyqJv6DfFgYvxTmbYh6BB33JzcAHYV ePVsucS5NKdSuP4QRNr4zFeebB+VPCGBTVv1iJUAFsDho/4bKVMx8RUfEucaVYWhJwxa 3pQLO37WN32xMRKSER81GOF0FwE7xNTLEkVnq3kGn6PfnVHi4Eo7fXVVAB9XUusQgy3R ZnbbKAcPd+tkIV2S81aa8kWqgdih452lAU7lE4YYBzOiIY68KWvVcPtF8PPcY3iMRVOS DjNA== X-Gm-Message-State: APjAAAUqDJBvWecT3E4nCSWfKdjCo7BzecHieMj5fgmObIEi21BRw/TL NYBV8XiIY8jESq7gWJAoRhc= X-Received: by 2002:a17:902:fe05:: with SMTP id g5mr90583596plj.3.1578027545630; Thu, 02 Jan 2020 20:59:05 -0800 (PST) Received: from localhost ([2601:647:5b00:710:ffa7:88dc:9c39:76d9]) by smtp.gmail.com with ESMTPSA id 189sm67628996pfw.73.2020.01.02.20.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2020 20:59:04 -0800 (PST) Date: Thu, 2 Jan 2020 20:59:03 -0800 From: Moritz Fischer To: Ding Xiang Cc: mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: remove redundant dev_err message Message-ID: <20200103045903.GA21472@epycbox.lan> References: <1568107616-12755-1-git-send-email-dingxiang@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568107616-12755-1-git-send-email-dingxiang@cmss.chinamobile.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 05:26:56PM +0800, Ding Xiang wrote: > devm_ioremap_resource already contains error message, so remove > the redundant dev_err message > > Signed-off-by: Ding Xiang > --- > drivers/fpga/ts73xx-fpga.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/fpga/ts73xx-fpga.c b/drivers/fpga/ts73xx-fpga.c > index 9a17fe9..2888ff0 100644 > --- a/drivers/fpga/ts73xx-fpga.c > +++ b/drivers/fpga/ts73xx-fpga.c > @@ -119,10 +119,8 @@ static int ts73xx_fpga_probe(struct platform_device *pdev) > > res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > priv->io_base = devm_ioremap_resource(kdev, res); > - if (IS_ERR(priv->io_base)) { > - dev_err(kdev, "unable to remap registers\n"); > + if (IS_ERR(priv->io_base)) > return PTR_ERR(priv->io_base); > - } > > mgr = devm_fpga_mgr_create(kdev, "TS-73xx FPGA Manager", > &ts73xx_fpga_ops, priv); > -- > 1.9.1 > > > Applied to for-next. Thanks, Moritz