Johannes pointed out that locking is still problematic with triggers

list, attempt to solve that by using RCU.
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYX/LVQAKCRAw5/Bqldv6
 8tGdAKCxfNbQXshDLhtAF5vRz2sSuxwchgCfdE4QTPU02G1h3qPVXmKVHJX3UVk=
 =RxTC
 -----END PGP SIGNATURE-----

Merge tag 'leds-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds

Pull LED updates from Pavel Machek:
 "Johannes pointed out that locking is still problematic with triggers
  list, attempt to solve that by using RCU"

* tag 'leds-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds:
  leds: trigger: Disable CPU trigger on PREEMPT_RT
  leds: trigger: use RCU to protect the led_cdevs list
  led-class-flash: fix -Wrestrict warning
This commit is contained in:
Linus Torvalds 2021-11-01 18:49:25 -07:00
commit 4dee060625
4 changed files with 24 additions and 22 deletions