[PATCH] Print error message if of_state_fixup() fails
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 18 03:58:02 PST 2016
On Wed, Feb 17, 2016 at 07:29:46PM +0100, Harald Welte wrote:
> If of_state_fixup() fails for some reason, boot/bootm will fail, too
>
> However, it is completely unclear where the error has happened, and to
> the user it rather seems like the kernel device tree loaded from some
> file was broken/corrupt, not that in fact some fixup routine was
> failing.
>
> Adding a meaningful error message can help debugging significantly.
>
> Signed-off-by: Harald Welte <laforge at gnumonks.org>
> ---
> common/state.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list