Re: speed_t usage?

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

 



On Tue, Apr 09, 2024 at 03:36:11PM +0200, Greg Kroah-Hartman wrote:
> On Wed, Mar 13, 2024 at 01:50:56PM +0200, Andy Shevchenko wrote:
> > Hi!
> > 
> > Recently while doing some serial driver cleanup I realised that TTY uses
> > speed_t type for baud rates. What is the appropriate use of it?
> > Either it is going to be killed (replaced with POD), or should / may we
> > spread it over tty/serial and further?
> 
> As it's a uapi interface we can't just delete it entirely, but please,
> do not spread it any further, and try to clean up what places in the
> kernel itself that we can to use a "real" type that we know the size of
> at all times (i.e. u32/u64), not just having to guess like we do today.

Thank you for clarification!

-- 
With Best Regards,
Andy Shevchenko






[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