* property data length
                 */
                if (it->cur + count > it->list_end) {
-                       pr_err("%pOF: %s = %d found %td\n",
-                              it->parent, it->cells_name,
-                              count, it->list_end - it->cur);
+                       if (it->cells_name)
+                               pr_err("%pOF: %s = %d found %td\n",
+                                       it->parent, it->cells_name,
+                                       count, it->list_end - it->cur);
+                       else
+                               pr_err("%pOF: phandle %s needs %d, found %td\n",
+                                       it->parent, of_node_full_name(it->node),
+                                       count, it->list_end - it->cur);
                        goto err;
                }
        }