Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- common/state.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/state.c b/common/state.c index d4ce7313be97..5642f0d41855 100644 --- a/common/state.c +++ b/common/state.c @@ -512,8 +512,11 @@ static int state_convert_node_variable(struct state *state, ret = of_property_read_u32_array(node, "reg", start_size, ARRAY_SIZE(start_size)); - if (ret) + if (ret) { + dev_err(&state->dev, + "%s: reg property not found\n", name); goto out_free; + } if (start_size[1] != sv->size) { dev_err(&state->dev, -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox