All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] auxdisplay: add devm_linedisp_register() and fix work initialization races
@ 2026-08-19  2:45 kr494167
  2026-08-19  2:45 ` [PATCH 0/3 1/3] auxdisplay: line-display: add devm_linedisp_register() kr494167
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: kr494167 @ 2026-08-19  2:45 UTC (permalink / raw)
  To: andy.shevchenko, andy, geert
  Cc: chris.packham, linux-kernel, Surendra Singh Chouhan

From: Surendra Singh Chouhan <kr494167@gmail.com>

Per maintainer review feedback from Andy Shevchenko and Chris Packham,
this patch series introduces a devm-managed devm_linedisp_register() helper
for the line-display core to avoid use-after-free teardown races across
auxdisplay drivers.

Patch 1 adds devm_linedisp_register() to line-display core.

Patch 2 fixes delayed work initialization races in seg-led-gpio.c, moves
INIT_DELAYED_WORK() to probe(), uses devm_add_action_or_reset() for work
cancellation, and converts to devm_linedisp_register(), removing seg_led_remove().

Patch 3 fixes delayed work initialization races in max6959.c, moves
INIT_DELAYED_WORK() to probe(), uses devm_add_action_or_reset() for work
cancellation, and converts to devm_linedisp_register(), removing max6959_i2c_remove().

Surendra Singh Chouhan (3):
  auxdisplay: line-display: add devm_linedisp_register()
  auxdisplay: seg-led-gpio: fix work initialization race and convert to
    devm_linedisp_register()
  auxdisplay: max6959: fix work initialization race and convert to
    devm_linedisp_register()

 drivers/auxdisplay/line-display.c | 32 +++++++++++++++++++++++++++++++
 drivers/auxdisplay/line-display.h |  2 ++
 drivers/auxdisplay/max6959.c      | 26 ++++++++++++-------------
 drivers/auxdisplay/seg-led-gpio.c | 27 +++++++++++++-------------
 4 files changed, 61 insertions(+), 26 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-19  8:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19  2:45 [PATCH 0/3] auxdisplay: add devm_linedisp_register() and fix work initialization races kr494167
2026-08-19  2:45 ` [PATCH 0/3 1/3] auxdisplay: line-display: add devm_linedisp_register() kr494167
2026-08-19  8:01   ` Andy Shevchenko
2026-08-19  2:45 ` [PATCH 0/3 2/3] auxdisplay: seg-led-gpio: fix work initialization race and convert to devm_linedisp_register() kr494167
2026-08-19  2:45 ` [PATCH 0/3 3/3] auxdisplay: max6959: " kr494167
2026-08-19  7:50   ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.