Skip to contentSkip to conversation

xen/dts: specific bad cell count error

PATCH Applied [email protected] 3 participants 3 messages Dec 22, 2013 – Jan 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/dts: specific bad cell count error

From: Tsahee Zidenberg <[email protected]>

Specify in the error message if bad cell count is in device or parent.

---
 xen/common/device_tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/device_tree.c +2 -2
index 9b9a348..327b33c 100644
@@ -1015,7 +1015,7 @@ static u64 __dt_translate_address(const struct dt_device_node *dev,
     bus->count_cells(dev, &na, &ns);
     if ( !DT_CHECK_COUNTS(na, ns) )
     {
-        dt_printk(XENLOG_ERR "dt_parse: Bad cell count for %s\n",
+        dt_printk(XENLOG_ERR "dt_parse: Bad cell count for device %s\n",
                   dev->full_name);
         goto bail;
     }
@@ -1050,7 +1050,7 @@ static u64 __dt_translate_address(const struct dt_device_node *dev,
         pbus->count_cells(dev, &pna, &pns);
         if ( !DT_CHECK_COUNTS(pna, pns) )
         {
-            printk(XENLOG_ERR "dt_parse: Bad cell count for %s\n",
+            printk(XENLOG_ERR "dt_parse: Bad cell count for parent %s\n",
                    dev->full_name);
             break;
         }
Signature · 1 line
1.8.1.2