Thread (14 messages) 14 messages, 11 authors, 2018-02-24

Re: [PATCH] fix double ;;s in code

From: Vineet Gupta <hidden>
Date: 2018-02-20 05:33:49
Also in: linux-block

On 02/17/2018 01:19 PM, Pavel Machek wrote:
quoted hunk ↗ jump to hunk
Fix double ;;'s in code.

Signed-off-by: Pavel Machek<redacted>
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 9d27331..ec12fe1 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -373,7 +373,7 @@ static void arc_chk_core_config(void)
  {
  	struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];
  	int saved = 0, present = 0;
-	char *opt_nm = NULL;;
+	char *opt_nm = NULL;
  
  	if (!cpu->extn.timer0)
  		panic("Timer0 is not present!\n");
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index 333daab..183391d 100644
--- a/arch/arc/kernel/unwind.c
+++ b/arch/arc/kernel/unwind.c
@@ -366,7 +366,7 @@ static void init_unwind_hdr(struct unwind_table *table,
  	return;
  
  ret_err:
-	panic("Attention !!! Dwarf FDE parsing errors\n");;
+	panic("Attention !!! Dwarf FDE parsing errors\n");
  }
  
I have a fix from Luis to same effect from Jan sitting in my for-curr

Thx for it anyways.

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