diff options
author | Gerhard Engleder <eg@keba.com> | 2024-08-19 22:26:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-03 13:37:29 +0300 |
commit | 7d32e779eb9add47bfdb4731c4d4ff443a7f7fa6 (patch) | |
tree | 2fd39cdcf5e16a5731195c192aaa03b797e58434 /drivers/misc/tifm_7xx1.c | |
parent | a759d1f25182f51210c8831d71ce7ee81e0930f4 (diff) | |
download | linux-7d32e779eb9add47bfdb4731c4d4ff443a7f7fa6.tar.xz |
misc: keba: Fix sysfs group creation
sysfs_create_group() races with userspace. Use dev_groups instead which
prevents all the problems of sysfs_create_group().
Fixes: a1944676767e ("misc: keba: Add basic KEBA CP500 system FPGA support")
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gerhard Engleder <eg@keba.com>
Link: https://lore.kernel.org/r/20240819192645.50171-1-gerhard@engleder-embedded.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/tifm_7xx1.c')
0 files changed, 0 insertions, 0 deletions