diff mbox series

arm64: entry: remove unneeded semicolon in el1_sync_handler()

Message ID 20200418081909.41471-1-yanaijie@huawei.com (mailing list archive)
State Mainlined
Commit 0dd2334fd5b99e610ceccba0e5263e6969207880
Headers show
Series arm64: entry: remove unneeded semicolon in el1_sync_handler() | expand

Commit Message

Jason Yan April 18, 2020, 8:19 a.m. UTC
Fix the following coccicheck warning:

arch/arm64/kernel/entry-common.c:97:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 arch/arm64/kernel/entry-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Rutland April 20, 2020, 10:16 a.m. UTC | #1
On Sat, Apr 18, 2020 at 04:19:09PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> arch/arm64/kernel/entry-common.c:97:2-3: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/kernel/entry-common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c
> index c839b5bf1904..bed09a866c2f 100644
> --- a/arch/arm64/kernel/entry-common.c
> +++ b/arch/arm64/kernel/entry-common.c
> @@ -94,7 +94,7 @@ asmlinkage void notrace el1_sync_handler(struct pt_regs *regs)
>  		break;
>  	default:
>  		el1_inv(regs, esr);
> -	};
> +	}
>  }
>  NOKPROBE_SYMBOL(el1_sync_handler);
>  
> -- 
> 2.21.1
>
Will Deacon April 28, 2020, 2:49 p.m. UTC | #2
On Sat, 18 Apr 2020 16:19:09 +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> arch/arm64/kernel/entry-common.c:97:2-3: Unneeded semicolon

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: entry: remove unneeded semicolon in el1_sync_handler()
      https://git.kernel.org/arm64/c/0dd2334fd5b9

Cheers,
diff mbox series

Patch

diff --git a/arch/arm64/kernel/entry-common.c b/arch/arm64/kernel/entry-common.c
index c839b5bf1904..bed09a866c2f 100644
--- a/arch/arm64/kernel/entry-common.c
+++ b/arch/arm64/kernel/entry-common.c
@@ -94,7 +94,7 @@  asmlinkage void notrace el1_sync_handler(struct pt_regs *regs)
 		break;
 	default:
 		el1_inv(regs, esr);
-	};
+	}
 }
 NOKPROBE_SYMBOL(el1_sync_handler);