From: Tsahee Zidenberg Date: Sun, 22 Dec 2013 11:01:31 +0000 (+0200) Subject: xen/dts: specific bad cell count error X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5712 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7dde263e6cbe2b58dbff368f8a63dfc6152a70ef;p=xen.git xen/dts: specific bad cell count error Specify in the error message if bad cell count is in device or parent. Signed-off-by: Tsahee Zidenberg Acked-by: Ian Campbell Acked-by: Julien Grall --- diff --git a/xen/common/device_tree.c b/xen/common/device_tree.c index 84e709d95e..a29d9f2eb7 100644 --- a/xen/common/device_tree.c +++ b/xen/common/device_tree.c @@ -999,7 +999,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; } @@ -1029,7 +1029,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; }