[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201109094529.GA832649@kroah.com>
Date: Mon, 9 Nov 2020 10:45:29 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Bernard Zhao <bernard@...o.com>
Cc: Jiri Slaby <jirislaby@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, opensource.kernel@...o.com
Subject: Re: [PATCH 2/2] drivers/tty: delete break after goto/return
On Fri, Nov 06, 2020 at 07:29:24PM -0800, Bernard Zhao wrote:
> Delete break after goto/return, which will never run.
>
> Signed-off-by: Bernard Zhao <bernard@...o.com>
> ---
> drivers/tty/nozomi.c | 4 ----
> 1 file changed, 4 deletions(-)
If you look at the commits for this file:
$ git log --oneline drivers/tty/nozomi.c | head -n 5
1a460c36078e tty: nozomi: remove unneeded break
caa47cc63947 tty: nozomi: Use scnprintf() for avoiding potential buffer overflow
e2c2e7987106 tty: nozomi: fix spelling mistake "reserverd" -> "reserved"
18b1345e60ae tty: nozomi: Use dev_get_drvdata
c392ed464205 tty/nozomi: use pci_iomap instead of ioremap_nocache
You will notice that you should probably put the driver name in the
subject line. Otherwise this patch really looks like you are doing this
action on all of drivers/tty/ right?
Same for patch 1/2 as was pointed out by others.
thanks,
greg k-h
Powered by blists - more mailing lists