[PATCH v2] PCI: dw-rockchip: Add error messages in .probe()s error paths

Jesper Nilsson jesper.nilsson at axis.com
Wed Feb 28 01:52:28 PST 2024


On Tue, Feb 27, 2024 at 03:12:54PM +0100, Uwe Kleine-König wrote:
> Drivers that silently fail to probe provide a bad user experience and
> make it unnecessarily hard to debug such a failure. Fix it by using
> dev_err_probe() instead of a plain return.
> 
> Reviewed-by: Heiko Stuebner <heiko at sntech.de>
> Signed-off-by: Uwe Kleine-König <ukleinek at debian.org>

Reviewed-by: Jesper Nilsson <jesper.nilsson at axis.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson at axis.com



More information about the Linux-rockchip mailing list