From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Lino Sanfilippo" <LinoSanfilippo@gmx.de>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: [PATCH 0/3] serial: Create kserial_rs485 to get rid of padding
Date: Fri, 26 Aug 2022 17:46:26 +0300 [thread overview]
Message-ID: <20220826144629.11507-1-ilpo.jarvinen@linux.intel.com> (raw)
serial_rs485 contains padding at the end to make extending it easier.
Create kserial_rs485 counterpart w/o padding for kernel use leaving
serial_rs485 only to be used for uapi.
Ilpo Järvinen (3):
serial: Rename vars in uart_get_rs485_config()
serial: add helpers to copy serial_rs485 from/to userspace
serial: Add kserial_rs485 to avoid wasted space due to .padding
.../driver-api/serial/serial-rs485.rst | 2 +-
drivers/tty/serial/8250/8250.h | 4 +-
drivers/tty/serial/8250/8250_dwlib.c | 6 +-
drivers/tty/serial/8250/8250_exar.c | 12 +--
drivers/tty/serial/8250/8250_fintek.c | 6 +-
drivers/tty/serial/8250/8250_lpc18xx.c | 4 +-
drivers/tty/serial/8250/8250_pci.c | 4 +-
drivers/tty/serial/8250/8250_port.c | 4 +-
drivers/tty/serial/amba-pl011.c | 4 +-
drivers/tty/serial/ar933x_uart.c | 8 +-
drivers/tty/serial/atmel_serial.c | 4 +-
drivers/tty/serial/fsl_lpuart.c | 6 +-
drivers/tty/serial/imx.c | 6 +-
drivers/tty/serial/max310x.c | 4 +-
drivers/tty/serial/mcf.c | 4 +-
drivers/tty/serial/omap-serial.c | 6 +-
drivers/tty/serial/sc16is7xx.c | 6 +-
drivers/tty/serial/serial_core.c | 81 +++++++++++++------
drivers/tty/serial/stm32-usart.c | 12 +--
include/linux/serial_core.h | 20 ++++-
include/uapi/linux/serial.h | 3 +-
21 files changed, 127 insertions(+), 79 deletions(-)
--
2.30.2
next reply other threads:[~2022-08-26 14:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 14:46 Ilpo Järvinen [this message]
2022-08-26 14:46 ` [PATCH 1/3] serial: Rename vars in uart_get_rs485_config() Ilpo Järvinen
2022-08-26 15:39 ` Andy Shevchenko
2022-08-26 14:46 ` [PATCH 2/3] serial: add helpers to copy serial_rs485 from/to userspace Ilpo Järvinen
2022-08-26 15:42 ` Andy Shevchenko
2022-08-26 14:46 ` [PATCH 3/3] serial: Add kserial_rs485 to avoid wasted space due to .padding Ilpo Järvinen
2022-08-26 15:50 ` Andy Shevchenko
2022-08-29 12:09 ` Ilpo Järvinen
2022-08-29 12:14 ` 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=20220826144629.11507-1-ilpo.jarvinen@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=LinoSanfilippo@gmx.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.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