public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Senna Tschudin <peter.senna@gmail.com>
To: tglx@linutronix.de
Cc: mingo@redhat.com, hpa@zytor.com, x86@kernel.org, avi@redhat.com,
	mtosatti@redhat.com, a.p.zijlstra@chello.nl,
	rusty@rustcorp.com.au, masami.hiramatsu.pt@hitachi.com,
	suresh.b.siddha@intel.com, joerg.roedel@amd.com,
	agordeev@redhat.com, yinghai@kernel.org, bhelgaas@google.com,
	liuj97@gmail.com, peter.senna@gmail.com,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: [PATCH] arch/x86: Remove unecessary semicolon
Date: Tue, 18 Sep 2012 18:36:14 +0200	[thread overview]
Message-ID: <1347986174-30287-7-git-send-email-peter.senna@gmail.com> (raw)
In-Reply-To: <1347986174-30287-1-git-send-email-peter.senna@gmail.com>

Found by http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
---
 arch/x86/kernel/alternative.c  | 4 ++--
 arch/x86/kernel/apic/apic.c    | 2 +-
 arch/x86/kvm/vmx.c             | 2 +-
 arch/x86/pci/mmconfig-shared.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 357475a..ef5ccca 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -304,7 +304,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,
 		/* turn DS segment override prefix into lock prefix */
 		if (*ptr == 0x3e)
 			text_poke(ptr, ((unsigned char []){0xf0}), 1);
-	};
+	}
 	mutex_unlock(&text_mutex);
 }
 
@@ -322,7 +322,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,
 		/* turn lock prefix into DS segment override prefix */
 		if (*ptr == 0xf0)
 			text_poke(ptr, ((unsigned char []){0x3E}), 1);
-	};
+	}
 	mutex_unlock(&text_mutex);
 }
 
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 24deb30..b17416e 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1934,7 +1934,7 @@ void smp_error_interrupt(struct pt_regs *regs)
 			apic_printk(APIC_DEBUG, KERN_CONT " : %s", error_interrupt_reason[i]);
 		i++;
 		v1 >>= 1;
-	};
+	}
 
 	apic_printk(APIC_DEBUG, KERN_CONT "\n");
 
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index d62b413..5f1c771 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -4501,7 +4501,7 @@ static int handle_cr(struct kvm_vcpu *vcpu)
 				vcpu->run->exit_reason = KVM_EXIT_SET_TPR;
 				return 0;
 			}
-		};
+		}
 		break;
 	case 2: /* clts */
 		handle_clts(vcpu);
diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c
index 937bcec..704b9ec 100644
--- a/arch/x86/pci/mmconfig-shared.c
+++ b/arch/x86/pci/mmconfig-shared.c
@@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)
 	while (i >= sizeof(struct acpi_mcfg_allocation)) {
 		entries++;
 		i -= sizeof(struct acpi_mcfg_allocation);
-	};
+	}
 	if (entries == 0) {
 		pr_err(PREFIX "MMCONFIG has no entries\n");
 		return -ENODEV;
-- 
1.7.11.4


  parent reply	other threads:[~2012-09-18 16:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 16:36 [PATCH] arch/arm/mach-at91/gpio.c: Remove unecessary semicolon Peter Senna Tschudin
2012-09-18 16:36 ` [PATCH] arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary Peter Senna Tschudin
2012-09-18 16:49   ` Prabhakar Lad
2012-09-18 16:58     ` Peter Senna Tschudin
2012-09-18 16:36 ` [PATCH] arch/arm/mach-omap1/devices.c: Remove unecessary semicolon Peter Senna Tschudin
2012-10-08 21:19   ` Tony Lindgren
2012-09-18 16:36 ` [PATCH] arch/arm/mach-omap2: " Peter Senna Tschudin
2012-10-08 21:19   ` Tony Lindgren
2012-09-18 16:36 ` [PATCH] arch/arm/plat-mxc/ulpi.c: " Peter Senna Tschudin
2012-09-18 18:27   ` Uwe Kleine-König
2012-09-18 16:36 ` [PATCH] arch/arm/plat-omap/omap-pm-noop.c: " Peter Senna Tschudin
2012-10-08 21:20   ` Tony Lindgren
2012-09-18 16:36 ` Peter Senna Tschudin [this message]
2012-09-19 17:07   ` [tip:x86/cleanups] arch/x86: Remove unecessary semicolons tip-bot for Peter Senna Tschudin
2012-09-18 18:58 ` [PATCH] arch/arm/mach-at91/gpio.c: Remove unecessary semicolon Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1347986174-30287-7-git-send-email-peter.senna@gmail.com \
    --to=peter.senna@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=agordeev@redhat.com \
    --cc=avi@redhat.com \
    --cc=bhelgaas@google.com \
    --cc=hpa@zytor.com \
    --cc=joerg.roedel@amd.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuj97@gmail.com \
    --cc=masami.hiramatsu.pt@hitachi.com \
    --cc=mingo@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=suresh.b.siddha@intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox