Re: [PATCH 2/5] fbdev/efifb: Register sysfs groups through driver core

2024-08-28 Thread Helge Deller
On 8/27/24 17:25, Thomas Weißschuh wrote: The driver core can register and cleanup sysfs groups already. Make use of that functionality to simplify the error handling and cleanup. Also avoid a UAF race during unregistering where the sysctl attributes were usable after the info struct was freed.

[PATCH 2/5] fbdev/efifb: Register sysfs groups through driver core

2024-08-27 Thread Thomas Weißschuh
The driver core can register and cleanup sysfs groups already. Make use of that functionality to simplify the error handling and cleanup. Also avoid a UAF race during unregistering where the sysctl attributes were usable after the info struct was freed. Signed-off-by: Thomas Weißschuh --- drive