* [PATCH 0/5] auxdisplay: five small fixes for linedisp and lcd2s
@ 2026-12-04 17:55 武阮泰維
2026-12-04 18:22 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: 武阮泰維 @ 2026-12-04 17:55 UTC (permalink / raw)
To: andy, geert; +Cc: robin, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0000-cover-letter.patch --]
[-- Type: application/octet-stream, Size: 2185 bytes --]
Date: Fri, 4 Dec 2026 17:28:53 +0000
Subject: [PATCH 0/5] auxdisplay: five small fixes for linedisp and lcd2s
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
To: Andy Shevchenko <andy@kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Robin van der Gracht <robin@protonic.nl>,
linux-kernel@vger.kernel.org
This series fixes four small bugs in the character line display core and
its users, plus one in the lcd2s driver.
- linedisp_attach() leaked linedisp->map and linedisp->message when it
failed after allocating them
- lcd2s_wait_buf_free() had no upper bound, so a display which stopped
draining its buffer would pin the caller forever
- map_to_seg7() and map_to_seg14() return -EINVAL for any byte >= 0x80,
and the segment drivers sent that truncated value to the hardware,
showing a garbage bitmap instead of a blank digit (seg-led-gpio,
max6959, ht16k33)
- an empty message was read back as "(null)"
- disabling scrolling at runtime left the last scrolled window on the
display
The input: yealink equivalent of the segment mapping fix is not part of
this series, it goes to linux-input separately.
Testing: built with "make W=1" on x86_64 and UML, checkpatch --strict
clean. The linedisp changes were exercised at runtime on UML with a
dummy linedisp device driven over sysfs; the lcd2s change is compile
tested only, no hardware was available.
武阮泰維 (5):
auxdisplay: line-display: fix memory leak on attach error paths
auxdisplay: lcd2s: fix a potential infinite loop
auxdisplay: blank unrepresentable segment display characters
auxdisplay: line-display: do not print "(null)" as the message
auxdisplay: line-display: re-render the display when scrolling is
disabled
drivers/auxdisplay/ht16k33.c | 16 ++++++++--------
drivers/auxdisplay/lcd2s.c | 14 ++++++++++++++
drivers/auxdisplay/line-display.c | 32 +++++++++++++++++++++++++------
drivers/auxdisplay/line-display.h | 31 ++++++++++++++++++++++++++++++
drivers/auxdisplay/max6959.c | 8 ++++----
drivers/auxdisplay/seg-led-gpio.c | 2 +-
6 files changed, 84 insertions(+), 19 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 0/5] auxdisplay: five small fixes for linedisp and lcd2s
2026-12-04 17:55 [PATCH 0/5] auxdisplay: five small fixes for linedisp and lcd2s 武阮泰維
@ 2026-12-04 18:22 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2026-12-04 18:22 UTC (permalink / raw)
To: 武阮泰維; +Cc: andy, geert, robin, linux-kernel
On Sat, Dec 05, 2026 at 12:55:43AM +0700, 武阮泰維 wrote:
Please, resend using `b4 relay`. This contribution doesn't follow the required format:
- patch has not to be an attachment
- the series should be linked to a single email thread
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-04 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04 17:55 [PATCH 0/5] auxdisplay: five small fixes for linedisp and lcd2s 武阮泰維
2026-12-04 18:22 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®