[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200313202656.ed9ca1d31aaa1ccc9eaa9844@gmail.com>
Date: Fri, 13 Mar 2020 20:26:56 +0100
From: Alexander Sverdlin <alexander.sverdlin@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Hartley Sweeten <hsweeten@...ionengravers.com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next 008/491] ARM/CIRRUS LOGIC EP93XX ARM ARCHITECTURE:
Use fallthrough;
Hello Joe,
On Tue, 10 Mar 2020 21:51:22 -0700
Joe Perches <joe@...ches.com> wrote:
> Convert the various uses of fallthrough comments to fallthrough;
>
> Done via script
> Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe.com/
I think the patch is OK, but the automatically-generated first
commit message line has a room for improvement.
But, as I understood, it has chances to be re-sent as one patch for
all files.
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
> arch/arm/mach-ep93xx/crunch.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-ep93xx/crunch.c b/arch/arm/mach-ep93xx/crunch.c
> index 1c05c5b..f02e978 100644
> --- a/arch/arm/mach-ep93xx/crunch.c
> +++ b/arch/arm/mach-ep93xx/crunch.c
> @@ -49,8 +49,7 @@ static int crunch_do(struct notifier_block *self, unsigned long cmd, void *t)
> * FALLTHROUGH: Ensure we don't try to overwrite our newly
> * initialised state information on the first fault.
> */
> - /* Fall through */
> -
> + fallthrough;
> case THREAD_NOTIFY_EXIT:
> crunch_task_release(thread);
> break;
--
Alexander Sverdlin.
Powered by blists - more mailing lists