public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARC: dw2 unwind: Fix trailing semicolon
@ 2018-01-23 15:16 Luis de Bethencourt
  2018-01-23 15:16 ` [PATCH 2/2] ARC: boot log: " Luis de Bethencourt
  2018-01-23 19:13 ` [PATCH 1/2] ARC: dw2 unwind: " Vineet Gupta
  0 siblings, 2 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2018-01-23 15:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: Joe Perches, Vineet Gupta, Alexey Brodkin, Andrew Morton,
	Noam Camus, Vlad Zakharov, Daniel Lezcano, Michal Hocko,
	Stephen Boyd, Masahiro Yamada, linux-snps-arc,
	Luis de Bethencourt

The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
---

Hi,

After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches
suggested I fix it treewide [0].

Best regards 
Luis


[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html

 arch/arc/kernel/unwind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index 333daab7def0..183391d4d33a 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");
 }
 
 #ifdef CONFIG_MODULES
-- 
2.15.1

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

* [PATCH 2/2] ARC: boot log: Fix trailing semicolon
  2018-01-23 15:16 [PATCH 1/2] ARC: dw2 unwind: Fix trailing semicolon Luis de Bethencourt
@ 2018-01-23 15:16 ` Luis de Bethencourt
  2018-01-23 19:13   ` Vineet Gupta
  2018-01-23 19:13 ` [PATCH 1/2] ARC: dw2 unwind: " Vineet Gupta
  1 sibling, 1 reply; 4+ messages in thread
From: Luis de Bethencourt @ 2018-01-23 15:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: Joe Perches, Vineet Gupta, Alexey Brodkin, Andrew Morton,
	Noam Camus, Vlad Zakharov, Daniel Lezcano, Michal Hocko,
	Stephen Boyd, Masahiro Yamada, linux-snps-arc,
	Luis de Bethencourt

The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
---
 arch/arc/kernel/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 9d27331fe69a..ec12fe1c2f07 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");
-- 
2.15.1

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

* Re: [PATCH 1/2] ARC: dw2 unwind: Fix trailing semicolon
  2018-01-23 15:16 [PATCH 1/2] ARC: dw2 unwind: Fix trailing semicolon Luis de Bethencourt
  2018-01-23 15:16 ` [PATCH 2/2] ARC: boot log: " Luis de Bethencourt
@ 2018-01-23 19:13 ` Vineet Gupta
  1 sibling, 0 replies; 4+ messages in thread
From: Vineet Gupta @ 2018-01-23 19:13 UTC (permalink / raw)
  To: Luis de Bethencourt, linux-kernel@vger.kernel.org
  Cc: Joe Perches, Vineet Gupta, Alexey Brodkin, Andrew Morton,
	Noam Camus, Vlad Zakharov, Daniel Lezcano, Michal Hocko,
	Stephen Boyd, Masahiro Yamada, linux-snps-arc@lists.infradead.org

On 01/23/2018 07:20 AM, Luis de Bethencourt wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
>
> Signed-off-by: Luis de Bethencourt<luisbg@kernel.org>


Applied to for-curr

Thx,
-Vineet

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

* Re: [PATCH 2/2] ARC: boot log: Fix trailing semicolon
  2018-01-23 15:16 ` [PATCH 2/2] ARC: boot log: " Luis de Bethencourt
@ 2018-01-23 19:13   ` Vineet Gupta
  0 siblings, 0 replies; 4+ messages in thread
From: Vineet Gupta @ 2018-01-23 19:13 UTC (permalink / raw)
  To: Luis de Bethencourt, linux-kernel@vger.kernel.org
  Cc: Joe Perches, Vineet Gupta, Alexey Brodkin, Andrew Morton,
	Noam Camus, Vlad Zakharov, Daniel Lezcano, Michal Hocko,
	Stephen Boyd, Masahiro Yamada, linux-snps-arc@lists.infradead.org

On 01/23/2018 07:21 AM, Luis de Bethencourt wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
>
> Signed-off-by: Luis de Bethencourt<luisbg@kernel.org>

Applied to for-curr

Thx,
-Vineet

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

end of thread, other threads:[~2018-01-23 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 15:16 [PATCH 1/2] ARC: dw2 unwind: Fix trailing semicolon Luis de Bethencourt
2018-01-23 15:16 ` [PATCH 2/2] ARC: boot log: " Luis de Bethencourt
2018-01-23 19:13   ` Vineet Gupta
2018-01-23 19:13 ` [PATCH 1/2] ARC: dw2 unwind: " Vineet Gupta

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