Re: [PATCH] arm64: entry: remove unneeded semicolon in el1_sync_handler()
From: Mark Rutland
Date: Mon Apr 20 2020 - 06:17:10 EST
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@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Acked-by: Mark Rutland <mark.rutland@xxxxxxx>
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
>