[PATCH] iommu/mediatek: Log with dev_err_probe when failing to parse dts

Joerg Roedel joro at 8bytes.org
Fri Jul 15 01:25:13 PDT 2022


On Tue, Jul 12, 2022 at 05:44:27PM -0400, Nícolas 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ícolas F. R. A. Prado <nfraprado at collabora.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list