Skip to content

leds: trigger: input-events: Rewrite to fix a serious locking issue

Hans de Goede linux-leds 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1leds: trigger: input-events: Rewrite to fix a serious locking issuedrivers/leds/trigger/ledtrig-input-events.c+34 -1023 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] leds: trigger: input-events: Rewrite to fix a serious locking issue

Hi All,

As first discussed here:
https://lore.kernel.org/linux-leds/[email protected]/

Shortly after ledtrig-input-events being merged into leds-for-next I found a serious locking issue with it :|

The single patch in this series fixes this. As indicated in the subject this is close to a full rewrite of ledtrig-input-events. The core functionality is preserved and since ledtrig-input-events ATM only exists on leds-for-next the other behavioral changes involved are not a problem.

Lee, I personally think it makes sense to keep the history and apply this on top (1). But if you prefer you could also drop the current version and then I'll send out a new patch directly adding the new version of the input-events trigger.

Regards,

Hans

1) Especially in the light of the similar issues in the netdev trigger

Hans de Goede (1):
leds: trigger: input-events: Rewrite to fix a serious locking issue

 drivers/leds/trigger/ledtrig-input-events.c | 136 +++++---------------
 1 file changed, 34 insertions(+), 102 deletions(-)
Signature · 1 line
2.45.1