Re: (subset) [PATCH] leds: trigger: Unregister sysfs attributes before calling deactivate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 04 May 2024 18:25:33 +0200, Hans de Goede wrote:
> Triggers which have trigger specific sysfs attributes typically store
> related data in trigger-data allocated by the activate() callback and
> freed by the deactivate() callback.
> 
> Calling device_remove_groups() after calling deactivate() leaves a window
> where the sysfs attributes show/store functions could be called after
> deactivation and then operate on the just freed trigger-data.
> 
> [...]

Applied, thanks!

[1/1] leds: trigger: Unregister sysfs attributes before calling deactivate()
      commit: 1a71c0768c716f6aecc633246b55e7f4cf9c6c82

--
Lee Jones [李琼斯]





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux