diff options
author | Thomas Weißschuh <[email protected]> | 2024-08-27 17:25:13 +0200 |
---|---|---|
committer | Helge Deller <[email protected]> | 2024-08-30 18:42:38 +0200 |
commit | 95cdd538e0e5677efbdf8aade04ec098ab98f457 (patch) | |
tree | b5f40767e9b81f75e66d33b3f6dd116fc871abec /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 929c81ade6355b87097a2a4886c10750e68626cf (diff) |
fbdev: efifb: Register sysfs groups through driver core
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions