From: kr494167@gmail.com
To: andy.shevchenko@gmail.com, andy@kernel.org, geert@linux-m68k.org
Cc: chris.packham@alliedtelesis.co.nz, linux-kernel@vger.kernel.org,
Surendra Singh Chouhan <kr494167@gmail.com>
Subject: [PATCH 0/3] auxdisplay: add devm_linedisp_register() and fix work initialization races
Date: Wed, 19 Aug 2026 08:15:53 +0530 [thread overview]
Message-ID: <20260819024556.63534-1-kr494167@gmail.com> (raw)
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
next reply other threads:[~2026-08-19 2:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 2:45 kr494167 [this message]
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
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=20260819024556.63534-1-kr494167@gmail.com \
--to=kr494167@gmail.com \
--cc=andy.shevchenko@gmail.com \
--cc=andy@kernel.org \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®