projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a91554
)
xen/dts: specific bad cell count error
author
Tsahee Zidenberg
<tsahee@gmx.com>
Sun, 22 Dec 2013 11:01:31 +0000
(13:01 +0200)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 7 Jan 2014 13:31:20 +0000
(13:31 +0000)
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>
xen/common/device_tree.c
patch
|
blob
|
history
diff --git
a/xen/common/device_tree.c
b/xen/common/device_tree.c
index 84e709d95e4ccb06f13218269a0201a2a8ecfd3a..a29d9f2eb721a4c068b0d44a2587ff0f12aefe66 100644
(file)
--- 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;
}