xen/dts: specific bad cell count error
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.
Signed-off-by Tsahee Zidenberg <[email protected]>
Acked-by Ian Campbell <[email protected]>
--- xen/common/device_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/device_tree.c +2 -2
@@ -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
Quoted 6 lines · On 12/22/2013 11:01 AM, [email protected] wrote:
From: Tsahee Zidenberg <[email protected]>
Specify in the error message if bad cell count is in device or parent.
Signed-off-by Tsahee Zidenberg <[email protected]>Acked-by Ian Campbell <[email protected]>
Acked-by Julien Grall <[email protected]>
Signature · 1 line
Julien Grall
Ian Campbell
AppliedQuoted 6 lines · On Sun, 2013-12-22 at 13:01 +0200, [email protected] wrote:
From: Tsahee Zidenberg <[email protected]>
Specify in the error message if bad cell count is in device or parent.
Signed-off-by Tsahee Zidenberg <[email protected]>Acked-by Ian Campbell <[email protected]>
RM hat: clearly no risk to the release here and improve the diagnostics in a useful way.
Applied, thanks.
Ian