From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Cc: yonghan.ye@unisoc.com, stable-commits@vger.kernel.org
Subject: Re: Patch "serial: sprd: Use readable macros instead of magic number" has been added to the 4.19-stable tree
Date: Thu, 2 Jan 2020 11:42:47 +0100 [thread overview]
Message-ID: <20200102104247.GA3927938@kroah.com> (raw)
In-Reply-To: <20200102022406.2ADD8215A4@mail.kernel.org>
On Wed, Jan 01, 2020 at 09:24:05PM -0500, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
>
> serial: sprd: Use readable macros instead of magic number
>
> to the 4.19-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> The filename of the patch is:
> serial-sprd-use-readable-macros-instead-of-magic-num.patch
> and it can be found in the queue-4.19 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.
>
>
>
> commit b8917f323e25835c0ac8d02cba9253bcd79040cf
> Author: Yonghan Ye <yonghan.ye@unisoc.com>
> Date: Wed Dec 4 20:00:07 2019 +0800
>
> serial: sprd: Use readable macros instead of magic number
>
> [ Upstream commit 2b5a997386b0594e671a32c7e429cf59ac8fc54c ]
>
> Define readable macros instead of magic number to make code more readable.
>
> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
> Acked-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
>
> diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
> index 2774af86763e..c6cad45cd34b 100644
> --- a/drivers/tty/serial/sprd_serial.c
> +++ b/drivers/tty/serial/sprd_serial.c
> @@ -294,6 +294,9 @@ static irqreturn_t sprd_handle_irq(int irq, void *dev_id)
> if (ims & SPRD_IMSR_TIMEOUT)
> serial_out(port, SPRD_ICLR, SPRD_ICLR_TIMEOUT);
>
> + if (ims & SPRD_IMSR_BREAK_DETECT)
> + serial_out(port, SPRD_ICLR, SPRD_IMSR_BREAK_DETECT);
> +
> if (ims & (SPRD_IMSR_RX_FIFO_FULL |
> SPRD_IMSR_BREAK_DETECT | SPRD_IMSR_TIMEOUT))
> sprd_rx(port);
Something went wrong here. The above patch does not match the
description of the original commit and changelog at all.
I'll go drop this patch from all stable trees now.
thanks,
greg k-h
parent reply other threads:[~2020-01-02 10:42 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20200102022406.2ADD8215A4@mail.kernel.org>]
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=20200102104247.GA3927938@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable-commits@vger.kernel.org \
--cc=yonghan.ye@unisoc.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