Thread (13 messages) 13 messages, 4 authors, 2022-08-30

Re: [PATCH 1/4] spi: mt7621: Fix an error message in mt7621_spi_probe()

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2022-08-30 09:46:22
Also in: kernel-janitors, linux-mediatek, linux-spi, lkml

Il 27/08/22 13:42, Christophe JAILLET ha scritto:
'status' is known to be 0 at this point. The expected error code is
PTR_ERR(clk).

Switch to dev_err_probe() in order to display the expected error code (in a
human readable way).
This also filters -EPROBE_DEFER cases, should it happen.

Fixes: 1ab7f2a43558 ("staging: mt7621-spi: add mt7621 support")
Signed-off-by: Christophe JAILLET <redacted>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help