Re: [PATCH v2] serial: 8250_pci: fix divide error bug if baud rate is 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2016-04-27 at 09:40 +0200, David Müller (ELSOFT AG) wrote:
> Andy Shevchenko wrote:
> > 
> > > +	/* gracefully handle the B0 case */
> > Capital letter first.
> > 
> > /* Gracefully handle the B0 case: fall back to B9600 */
> I think this is a bit misleading. The baud rate is not changed, we
> just make sure that the UART input clock is within acceptable limits.

IIUC it depends on what you will use as a second argument in ternary
operator.

In any case make sure that the code and commit message are in align.

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux