Re: [PATCH 1/2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

From: Greg Kroah-Hartman
Date: Tue Jul 21 2020 - 13:33:09 EST


On Tue, Jul 21, 2020 at 10:43:11PM +0530, B K Karthik wrote:
> prevent a bad shift operation by verifying that
> sport->rx_dma_rng_buf_len is non zero.
>
> Signed-off-by: B K Karthik <bkkarthik@xxxxxxxxxxxx>
> ---
> drivers/tty/serial/fsl_lpuart.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

What about setting the "Reported-by:" to the person who reported this
problem? And cc:ing them to see if they agree with your change?

thanks,

greg k-h