xen/arm: Remove warning for platforms without platform specific code
PATCH 1/1 xen/arm: Remove warning for platforms without platform specific code
From: "Edgar E. Iglesias" <[email protected]>
Replace the warning with an info message stating that the platform is generic.
Suggested-by Ian Campbell <[email protected]>
Signed-off-by Edgar E. Iglesias <[email protected]>
--- xen/arch/arm/platform.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)
xen/arch/arm/platform.c +1 -14
@@ -44,17 +44,6 @@ static bool_t __init platform_is_compatible(const struct platform_desc *plat)return 0 ; } -/* List of possible platform */ -static void dump_platform_table (void ) -{ -const struct platform_desc *p; - -printk ("Available platform support:\n" ); - -for ( p = _splatform; p != _eplatform; p++ ) -printk (" - %s\n" , p->name); -} -void __init platform_init (void ) {int res =0 ;
@@ -72,9 +61,7 @@ void __init platform_init(void)if ( platform == _eplatform ) {/* TODO: dump DT machine compatible node */ -printk (XENLOG_WARNING "WARNING: Unrecognized/unsupported device tree " -"compatible list\n" ); -dump_platform_table (); +printk (XENLOG_INFO "Platform: Generic System\n" ); platform =NULL ; }else
Signature · 1 line
1.9.1
Hi Edgar,
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Replace the warning with an info message stating that the platform is generic.
Suggested-by Ian Campbell <[email protected]>Signed-off-by Edgar E. Iglesias <[email protected]>
Reviewed-by Julien Grall <[email protected]>
Regards,
Signature · 1 line
Julien Grall
Ian Campbell
AppliedQuoted 11 lines · Julien Grall
Hi Edgar,
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Replace the warning with an info message stating that the platform is generic.
Suggested-by Ian Campbell <[email protected]>Signed-off-by Edgar E. Iglesias <[email protected]>Reviewed-by Julien Grall <[email protected]>
Applied, thanks.