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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DE791C433EF for ; Fri, 15 Jul 2022 08:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kCjzFgeyQQpel5CUxgF/aQoiA/JEeIzBugh0PxDcbpo=; b=NlfCZH8JOmbtjK 3Ju1T/y7Jq71gsLAqLJni7NO5uNHhp2nSndPhb5y8/gxCDLqX8jD7DEGVSLaYb1xCyTN/RiLNqF43 QbedEAm3vrLZF5n3bS/BR7BSRcIyTqyrmCFF+Fve3eYFQoR/tdYNWpu45XDjW6LQcBf4pB6g+ebVU eJ+CyZVmswVSJ5ojhXG0UI/IOlBr2XMeo5Vlz+fnRRkuPxXhRTvknTNQaOwrAfF2sGZnDf6bv8obj ZNcMQIRZFDpOlVhkLAPIwZElT3api9RY0BLQ9iPePumJ2RynXNuk4xN9YjTXUwIG87nzRjSiPWYUu oyRea3FVhrHhj5ZvvjEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oCGdU-005lLM-Bx; Fri, 15 Jul 2022 08:25:20 +0000 Received: from 8bytes.org ([2a01:238:4383:600:38bc:a715:4b6d:a889] helo=theia.8bytes.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oCGdR-005lKC-4r; Fri, 15 Jul 2022 08:25:18 +0000 Received: by theia.8bytes.org (Postfix, from userid 1000) id AA9C21F88; Fri, 15 Jul 2022 10:25:14 +0200 (CEST) Date: Fri, 15 Jul 2022 10:25:13 +0200 From: Joerg Roedel To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Matthias Brugger , Will Deacon , Yong Wu , iommu@lists.linux-foundation.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] iommu/mediatek: Log with dev_err_probe when failing to parse dts Message-ID: References: <20220712214427.544860-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220712214427.544860-1-nfraprado@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220715_012517_352112_AF749E3A X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 12, 2022 at 05:44:27PM -0400, N=EDcolas F. R. A. Prado wrote: > mtk_iommu_mm_dts_parse() can fail with EPROBE_DEFER if not all larbs > have probed yet, so use dev_err_probe() to avoid logging as an error in > that case. Also drop the return value from the message since it's > already printed by dev_err_probe(), and add the missing newline at the > end. > = > Signed-off-by: N=EDcolas F. R. A. Prado Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel