lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231130191050.3165862-1-hugo@hugovil.com>
Date:   Thu, 30 Nov 2023 14:10:42 -0500
From:   Hugo Villeneuve <hugo@...ovil.com>
To:     gregkh@...uxfoundation.org, jirislaby@...nel.org,
        hvilleneuve@...onoff.com
Cc:     linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
        hugo@...ovil.com
Subject: [PATCH 0/7] serial: sc16is7xx and max310x: regmap fixes and improvements

From: Hugo Villeneuve <hvilleneuve@...onoff.com>

Hello,
this patch series brings fixes and improvements related to regmap access
for sc16is7xx and max310x drivers.

They are related to commit 3837a0379533 ("serial: sc16is7xx: improve regmap debugfs by using one regmap per port").

Patches 1 and 2 address some comments formulated during review of the
source patch listed above.

Patch 3 removes a structure member made obsolete.

Patches 4 and 5 are improvements for code readability.

Patches 6 and 7 port improvements from patches 4 and 5 of the sc16is7xx
driver over to the max310x driver.

I have tested the changes on a custom board with two SC16IS752 DUART over
a SPI interface using a Variscite IMX8MN NANO SOM. The four UARTs are
configured in RS-485 mode.

Thank you.

Hugo Villeneuve (7):
  serial: sc16is7xx: fix snprintf format specifier in
    sc16is7xx_regmap_name()
  serial: sc16is7xx: remove global regmap from struct sc16is7xx_port
  serial: sc16is7xx: remove unused line structure member
  serial: sc16is7xx: add macro for max number of UART ports
  serial: sc16is7xx: improve sc16is7xx_regmap_name() buffer size
    computation
  serial: max310x: add macro for max number of ports
  serial: max310x: use separate regmap name for each port

 drivers/tty/serial/max310x.c   | 19 +++++++++++++++++--
 drivers/tty/serial/sc16is7xx.c | 32 ++++++++++++++++++--------------
 2 files changed, 35 insertions(+), 16 deletions(-)


base-commit: d804987153e7bedf503f8e4ba649afe52cfd7f6d
-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ