mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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 <tsahee@gmx.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Julien Grall <julien.grall@linaro.org>
This commit is contained in:
1 parent
8a91554484
commit
7dde263e6c
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||