summaryrefslogtreecommitdiffstats
path: root/common/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/state.c')
-rw-r--r--common/state.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/state.c b/common/state.c
index d4ce7313be..5642f0d418 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,