All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [JANITOR][PATCH 3/7] Fix whitespaces in tracer
@ 2007-04-26 18:40 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2007-04-26 18:40 UTC (permalink / raw)
  To: adeos-main; +Cc: Philippe Gerum


[-- Attachment #1.1: Type: text/plain, Size: 167 bytes --]

Philippe, I bet you mailer played some role here again, so I'm better
sending attachments ;). Anyway, this also gives the chance to do it even
more cleanly.

Jan

[-- Attachment #1.2: fix-whitespace.patch --]
[-- Type: text/plain, Size: 1271 bytes --]

---
 kernel/ipipe/tracer.c |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Index: linux-2.6.20-x64/kernel/ipipe/tracer.c
===================================================================
--- linux-2.6.20-x64.orig/kernel/ipipe/tracer.c
+++ linux-2.6.20-x64/kernel/ipipe/tracer.c
@@ -624,18 +624,18 @@ void ipipe_trace_panic_dump(void)
 		struct ipipe_trace_point *point = &panic_path->point[pos];
 		long time;
 		char buf[16];
-	       int i;
+		int i;
 
-	       printk(" %c", (point->flags & IPIPE_TFLG_HWIRQ_OFF) ?
-			      '|' : ' ');
+		printk(" %c",
+		       (point->flags & IPIPE_TFLG_HWIRQ_OFF) ? '|' : ' ');
 
-	       for (i = IPIPE_TFLG_DOMSTATE_BITS; i >= 0; i--)
-		       printk("%c",
-			      (IPIPE_TFLG_CURRENT_DOMAIN(point) == i) ?
-			      (IPIPE_TFLG_DOMAIN_STALLED(point, i) ?
-				       '#' : '+') :
-			       (IPIPE_TFLG_DOMAIN_STALLED(point, i) ?
-				       '*' : ' '));
+		for (i = IPIPE_TFLG_DOMSTATE_BITS; i >= 0; i--)
+			printk("%c",
+			       (IPIPE_TFLG_CURRENT_DOMAIN(point) == i) ?
+				(IPIPE_TFLG_DOMAIN_STALLED(point, i) ?
+					'#' : '+') :
+				(IPIPE_TFLG_DOMAIN_STALLED(point, i) ?
+					'*' : ' '));
 
 		if (!point->eip)
 			printk("-<invalid>-\n");

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-26 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 18:40 [Adeos-main] [JANITOR][PATCH 3/7] Fix whitespaces in tracer Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.