Thread (57 messages) 57 messages, 10 authors, 2012-06-07

Re: [PATCH 17/35] MIPS: Lasat: Cleanup files effected by firmware changes.

From: Sergei Shtylyov <hidden>
Date: 2012-06-06 11:54:44

Hello.

On 06-06-2012 1:19, Steven J. Hill wrote:
From: "Steven J. Hill"<redacted>
Make headers consistent across the files
    It's the case where you don't do it (forgot? :-).
and make changes based on running the checkpatch script.
quoted hunk ↗ jump to hunk
Signed-off-by: Steven J. Hill<redacted>
---
  arch/mips/lasat/prom.c |   13 ++++++-------
  1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/arch/mips/lasat/prom.c b/arch/mips/lasat/prom.c
index 8bd3994..0091351 100644
--- a/arch/mips/lasat/prom.c
+++ b/arch/mips/lasat/prom.c
@@ -2,19 +2,18 @@
   * PROM interface routines.
   */
  #include<linux/types.h>
-#include<linux/init.h>
    No, it should be left intact because '__init' is used.
  #include<linux/string.h>
  #include<linux/ctype.h>
-#include<linux/kernel.h>
    Doesn't the code use printk()?
quoted hunk ↗ jump to hunk
@@ -58,7 +57,7 @@ static void setup_prom_vectors(void)
  		__prom_putc = (void *)PROM_PUTC_ADDR;
  		prom_monitor = (void *)PROM_MONITOR_ADDR;
  	}
-	printk(KERN_DEBUG "prom vectors set up\n");
+	pr_debug("prom vectors set up\n");
    Changes behavior: now you need to #define DEBUG at the start of file for 
anything to be printed here.

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help