Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2359743pxf; Sat, 13 Mar 2021 18:00:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9bIHQCQbke7uXZeyvYvCUs7/qOSdU/7FD5pEKb+HyZkD7G4gsNh2mvU7TvekgRfvftKao X-Received: by 2002:a17:907:7637:: with SMTP id jy23mr15880023ejc.12.1615687220705; Sat, 13 Mar 2021 18:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615687220; cv=none; d=google.com; s=arc-20160816; b=qVlOMF/7aTMJDCvBdiMIk7BN1//edNAyvP9mzPDu2Y+EzqC3ZHYLC+8RtMx3jd4yyK gQ97KFMEuOE5Q/z6iwjXQAfpwPT3V52zf90j2UTRZ6B4uDXaP1+veGts2r888VstJEEj rY5ub9+esksi4jdQv99RvZpjUHZBXzd3iCLyJl0FFYtFauzh0UKXGWe5Wva/qFHixLdq LA/j35SSPvdPu60pn/GOlr+XZrP/IAS2FjTHocTknv/46yUDLBM539xj0ZsCMJ1foInQ zqVbswZbXAwMsGkhIt6ggKS6Ikb7XmqCTHM2vIdUH+ahKPiw2zXUzI/oEIq/FO05TdWY ba+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1fryRwuUDRhWHd//B+rXCw1CpzYDeMl9gNE8DO/3h7E=; b=yCG7a94BAuPFhpHvd4Dy1mTLCBMWRP+SVddKfmWr+JRa+6Se8GxDBcBHO3+C1MdYd+ R+7ST4HSc/VgPFNFpGHrdcDDh4HGzWHHB/zR9LDKFZYfzgsmo0C/WwUbVvUQlrUK3cTC dH7MJKnXB/dFnOuCdJ5FWus1MDkE61noLIjk3qRWzBlH1G724T/8CTOdj36T8H6tsRTB 9fTKvF0KJR53huG8wvNAN7WhXYQ4zmO4gVeTV/yvj5EHwcnePnxwZHr7A5kmTvg1ZCWg PjmTdJk+lCFEX9ef9T1ZH48iZZu8KO9MkvpHeDGAyUM5n8G/KTZlIROO5LiH7YgY8pbn UI7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fakOty/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s23si7471792eja.266.2021.03.13.17.59.58; Sat, 13 Mar 2021 18:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fakOty/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234916AbhCNBnK (ORCPT + 99 others); Sat, 13 Mar 2021 20:43:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:51298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbhCNBmr (ORCPT ); Sat, 13 Mar 2021 20:42:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6BDB164EDC for ; Sun, 14 Mar 2021 01:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615686167; bh=d8r78DmHZoQq/Xpde3tw/rQjLBC2qxYXAEfmbWF2bP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fakOty/OHbvQxSv2CtMch+TMWS3l3uxOlWFWgIOsf5/SWb4lrzStEhsizPP5RLg6V Q+pvjsfXPOJPtRs1KgdewqNbHbyKeO2zjqT4o58dbM0DuaxkibyaU2wvOchRXcgF/H y9yxakpcigDKbdLQcPyKJWjSNHmS8ooxB3BFyCXRq07lXU4S+/4EKgtQgcVzo7HfR8 1wIF9lLesMSM5zYdUo1NRs2sGDtH8V1qbVUDk7OM1k0tA+n+5XLKwE0ZX8K/dIZYni /hWCSNVE/Madwf4ON7yaoghCRkgdXGRVz4l+N1jmibwnPiyLdkwcwvj+xQHGhCju2j GuE1gKc+EAjuA== Received: by mail-ej1-f52.google.com with SMTP id bm21so60522528ejb.4 for ; Sat, 13 Mar 2021 17:42:47 -0800 (PST) X-Gm-Message-State: AOAM531DD0CYsQCxDYr/y9oWuGwxV1IXxd3lIsOFORyslpf9YtOzUCb9 oNWOqdYvJ2CHimfE1r89redaUX8dYavQMcU5ZQ== X-Received: by 2002:a17:906:a106:: with SMTP id t6mr16649455ejy.63.1615686165972; Sat, 13 Mar 2021 17:42:45 -0800 (PST) MIME-Version: 1.0 References: <1615621683-2122-1-git-send-email-wangqing@vivo.com> In-Reply-To: <1615621683-2122-1-git-send-email-wangqing@vivo.com> From: Chun-Kuang Hu Date: Sun, 14 Mar 2021 09:42:34 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] gpu: drm: mediatek: delete redundant printing of return value To: Wang Qing Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , DRI Development , Linux ARM , "moderated list:ARM/Mediatek SoC support" , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Wang: Wang Qing =E6=96=BC 2021=E5=B9=B43=E6=9C=8813=E6=97=A5 = =E9=80=B1=E5=85=AD =E4=B8=8B=E5=8D=883:48=E5=AF=AB=E9=81=93=EF=BC=9A > > platform_get_irq() has already checked and printed the return value, > the printing here is nothing special, it is not necessary at all. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Signed-off-by: Wang Qing > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediate= k/mtk_dpi.c > index b05f900..0ac4962 > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c > @@ -751,10 +751,8 @@ static int mtk_dpi_probe(struct platform_device *pde= v) > } > > dpi->irq =3D platform_get_irq(pdev, 0); > - if (dpi->irq <=3D 0) { > - dev_err(dev, "Failed to get irq: %d\n", dpi->irq); > + if (dpi->irq <=3D 0) > return -EINVAL; > - } > > ret =3D drm_of_find_panel_or_bridge(dev->of_node, 0, 0, > NULL, &dpi->next_bridge); > -- > 2.7.4 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel