From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
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 15:36:11 +0200 [thread overview]
Message-ID: <2024040905-stoppage-sampling-b575@gregkh> (raw)
In-Reply-To: <ZfGTIGvFvEMrFwOZ@smile.fi.intel.com>
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.
thanks,
greg k-h
next prev parent reply other threads:[~2024-04-09 13:36 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 [this message]
2024-04-09 13:43 ` Andy Shevchenko
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=2024040905-stoppage-sampling-b575@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=andriy.shevchenko@intel.com \
--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