From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Jiri Slaby" <jirislaby@kernel.org>,
linux-serial@vger.kernel.org,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: speed_t usage?
Date: Tue, 9 Apr 2024 16:43:08 +0300 [thread overview]
Message-ID: <ZhVF7Dntnt1BbsMh@smile.fi.intel.com> (raw)
In-Reply-To: <2024040905-stoppage-sampling-b575@gregkh>
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
prev parent reply other threads:[~2024-04-09 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-13 11:50 speed_t usage? Andy Shevchenko
2024-04-09 13:36 ` Greg Kroah-Hartman
2024-04-09 13:43 ` Andy Shevchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZhVF7Dntnt1BbsMh@smile.fi.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox