Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jilin Yuan <yuanjilin@cdjrlc.com>
Cc: jirislaby@kernel.org, shawnguo@kernel.org,
	s.hauer@pengutronix.de, kernel@pengutronix.de,
	festevam@gmail.com, linux-imx@nxp.com,
	krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com,
	linux-serial@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH] tty/serial: fix repeated words in comments
Date: Mon, 22 Aug 2022 14:17:03 +0200	[thread overview]
Message-ID: <YwNzv6GXPTG46D3r@kroah.com> (raw)
In-Reply-To: <20220822120901.17913-1-yuanjilin@cdjrlc.com>

On Mon, Aug 22, 2022 at 08:09:01PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'power'.
>  Delete the redundant word 'long'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  drivers/tty/serial/imx.c         | 2 +-
>  drivers/tty/serial/samsung_tty.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
> index 30edb35a6a15..c72e0dad3544 100644
> --- a/drivers/tty/serial/imx.c
> +++ b/drivers/tty/serial/imx.c
> @@ -2069,7 +2069,7 @@ imx_uart_console_get_options(struct imx_port *sport, int *baud,
>  		{	/*
>  			 * The next code provides exact computation of
>  			 *   baud_raw = round(((uartclk/16) * (ubir + 1)) / (ubmr + 1))
> -			 * without need of float support or long long division,
> +			 * without need of float support or long division,

The original is correct here.

>  			 * which would be required to prevent 32bit arithmetic overflow
>  			 */
>  			unsigned int mul = ubir + 1;
> diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c
> index d5ca904def34..af799b79ba25 100644
> --- a/drivers/tty/serial/samsung_tty.c
> +++ b/drivers/tty/serial/samsung_tty.c
> @@ -1353,7 +1353,7 @@ static int apple_s5l_serial_startup(struct uart_port *port)
>  	return ret;
>  }
>  
> -/* power power management control */
> +/* power management control */

Are you sure this isn't also correct?

greg k-h

      reply	other threads:[~2022-08-22 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 12:09 [PATCH] tty/serial: fix repeated words in comments Jilin Yuan
2022-08-22 12:17 ` Greg KH [this message]

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=YwNzv6GXPTG46D3r@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=alim.akhtar@samsung.com \
    --cc=festevam@gmail.com \
    --cc=jirislaby@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=yuanjilin@cdjrlc.com \
    /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