diff options
| -rw-r--r-- | drivers/of/base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 5226e898476e..20e0e7ee4edf 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
| @@ -1350,8 +1350,9 @@ int of_phandle_iterator_next(struct of_phandle_iterator *it) | |||
| 1350 | * property data length | 1350 | * property data length |
| 1351 | */ | 1351 | */ |
| 1352 | if (it->cur + count > it->list_end) { | 1352 | if (it->cur + count > it->list_end) { |
| 1353 | pr_err("%pOF: arguments longer than property\n", | 1353 | pr_err("%pOF: %s = %d found %d\n", |
| 1354 | it->parent); | 1354 | it->parent, it->cells_name, |
| 1355 | count, it->cell_count); | ||
| 1355 | goto err; | 1356 | goto err; |
| 1356 | } | 1357 | } |
| 1357 | } | 1358 | } |
