From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] fix double ;;s in code To: Pavel Machek , , kernel list , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20180217211955.GE9640@amd> CC: Luis de Bethencourt From: Vineet Gupta Message-ID: Date: Mon, 19 Feb 2018 21:33:49 -0800 MIME-Version: 1.0 In-Reply-To: <20180217211955.GE9640@amd> Content-Type: multipart/alternative; boundary="------------5F0C80F3EF0A744020863B16" List-ID: --------------5F0C80F3EF0A744020863B16 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 02/17/2018 01:19 PM, Pavel Machek wrote: > Fix double ;;'s in code. > > Signed-off-by: Pavel Machek > > 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 --------------5F0C80F3EF0A744020863B16 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
On 02/17/2018 01:19 PM, Pavel Machek wrote:
Fix double ;;'s in code.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

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
--------------5F0C80F3EF0A744020863B16--