mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] delta patch to arch/x86/kernel/traps_64.c
@ 2008-08-02 15:50 Gustavo F. Padovan
  2008-08-02 15:50 ` [PATCH 1/1] x86: coding style fixes " Gustavo F. Padovan
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo F. Padovan @ 2008-08-02 15:50 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel, x86

Ingo,

This patch fixes coding style to previous patch to traps_64.c
(4df9e510a9fda29aca71d8acac853b98aa6884d1 on tip/x86/cleanups).




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] x86: coding style fixes to arch/x86/kernel/traps_64.c
  2008-08-02 15:50 [PATCH 0/1] delta patch to arch/x86/kernel/traps_64.c Gustavo F. Padovan
@ 2008-08-02 15:50 ` Gustavo F. Padovan
  2008-08-15 16:11   ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo F. Padovan @ 2008-08-02 15:50 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel, x86

Fix coding style of traps_64.c with improvements suggested by Ingo.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
---
 arch/x86/kernel/traps_64.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c
index fe36d96..5df5d2e 100644
--- a/arch/x86/kernel/traps_64.c
+++ b/arch/x86/kernel/traps_64.c
@@ -84,8 +84,8 @@ static inline void preempt_conditional_cli(struct pt_regs *regs)
 
 void printk_address(unsigned long address, int reliable)
 {
-	printk(" [<%016lx>] %s%pS\n", address, reliable ?
-			"" : "? ", (void *) address);
+	printk(" [<%016lx>] %s%pS\n",
+			address, reliable ?	"" : "? ", (void *) address);
 }
 
 static unsigned long *in_exception_stack(unsigned cpu, unsigned long stack,
@@ -98,8 +98,8 @@ static unsigned long *in_exception_stack(unsigned cpu, unsigned long stack,
 		[STACKFAULT_STACK - 1] = "#SS",
 		[MCE_STACK - 1] = "#MC",
 #if DEBUG_STKSZ > EXCEPTION_STKSZ
-		[N_EXCEPTION_STACKS ... N_EXCEPTION_STACKS + DEBUG_STKSZ /
-			EXCEPTION_STKSZ - 2] = "#DB[?]"
+		[N_EXCEPTION_STACKS ...
+			N_EXCEPTION_STACKS + DEBUG_STKSZ / EXCEPTION_STKSZ - 2] = "#DB[?]"
 #endif
 	};
 	unsigned k;
@@ -363,8 +363,10 @@ show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs,
 	unsigned long *irqstack =
 		(unsigned long *) (cpu_pda(cpu)->irqstackptr - IRQSTACKSIZE);
 
-	/* debugging aid: "show_stack(NULL, NULL);" prints the
-	  back trace for this cpu. */
+	/*
+	 * debugging aid: "show_stack(NULL, NULL);" prints the
+	 * back trace for this cpu.
+	 */
 
 	if (sp == NULL) {
 		if (task)
-- 
1.5.4.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] x86: coding style fixes to arch/x86/kernel/traps_64.c
  2008-08-02 15:50 ` [PATCH 1/1] x86: coding style fixes " Gustavo F. Padovan
@ 2008-08-15 16:11   ` Ingo Molnar
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2008-08-15 16:11 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-kernel, x86


* Gustavo F. Padovan <gustavo@las.ic.unicamp.br> wrote:

> Fix coding style of traps_64.c with improvements suggested by Ingo.
> 
> Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>

applied to tip/x86/cleanups - thanks Gustavo!

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-15 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-02 15:50 [PATCH 0/1] delta patch to arch/x86/kernel/traps_64.c Gustavo F. Padovan
2008-08-02 15:50 ` [PATCH 1/1] x86: coding style fixes " Gustavo F. Padovan
2008-08-15 16:11   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®