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

From: AngeloGioacchino Del Regno
Date: Wed Jul 13 2022 - 04:20:39 EST


Il 12/07/22 23:44, Nícolas F. R. A. Prado ha scritto:
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@xxxxxxxxxxxxx>


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>