Patchwork powerpc: Lack of firmware flash support is not an error

login
register
mail settings
Submitter Anton Blanchard
Date July 23, 2012, 6:42 a.m.
Message ID <20120723164232.1988f3ca@kryten>
Download mbox | patch
Permalink /patch/172549/
State Accepted
Commit 0e3849836bb17cd95729587c4a834f2ebf4f9f42
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Anton Blanchard - July 23, 2012, 6:42 a.m.
Reduce the severity of the warning given when firmware flash is
not supported. Not all platforms have it.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Patch

Index: b/arch/powerpc/kernel/rtas_flash.c
===================================================================
--- a/arch/powerpc/kernel/rtas_flash.c
+++ b/arch/powerpc/kernel/rtas_flash.c
@@ -709,7 +709,7 @@  static int __init rtas_flash_init(void)
 
 	if (rtas_token("ibm,update-flash-64-and-reboot") ==
 		       RTAS_UNKNOWN_SERVICE) {
-		printk(KERN_ERR "rtas_flash: no firmware flash support\n");
+		pr_info("rtas_flash: no firmware flash support\n");
 		return 1;
 	}