RE: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-08-05 Thread Vabhav Sharma (OSS)
: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift > operation > > On Tue, Jul 21, 2020 at 11:12:29PM +0530, B K Karthik wrote: > > prevent a bad shift operation by verifying that the argument to fls is > > non zero. > > > > Reported-by: "Vabhav Sharm

Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-08-05 Thread Greg Kroah-Hartman
- > > ker...@vger.kernel.org; Vabhav Sharma (OSS) > > ; bhuvanchandra...@toradex.com > > Subject: Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift > > operation > > > > On Tue, Jul 21, 2020 at 11:12:29PM +0530, B K Karthik wrote: > > > prev

Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-08-05 Thread B K Karthik
M > > > To: B K Karthik > > > Cc: Jiri Slaby ; linux-ser...@vger.kernel.org; > > > linux- > > > ker...@vger.kernel.org; Vabhav Sharma (OSS) > > > ; bhuvanchandra...@toradex.com > > > Subject: Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a

Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-07-29 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 11:12:29PM +0530, B K Karthik wrote: > prevent a bad shift operation by verifying that > the argument to fls is non zero. > > Reported-by: "Vabhav Sharma (OSS)" > Signed-off-by: B K Karthik > --- > v1 -> v2: > added Reported-by tag > > drivers/tty/serial/fsl_lpuar