Messages in this thread | | | Date | Tue, 21 Jul 2020 19:33:13 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 1/2] tty: serial: fsl_lpuart.c: prevent a bad shift operation |
| |
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@pesu.pes.edu> > --- > 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
| |