Commit 7d32e77
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: a194467 ("misc: keba: Add basic KEBA CP500 system FPGA support")
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Gerhard Engleder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent a759d1f commit 7d32e77
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | 399 | | |
403 | 400 | | |
404 | 401 | | |
405 | | - | |
| 402 | + | |
406 | 403 | | |
407 | 404 | | |
408 | 405 | | |
409 | 406 | | |
410 | 407 | | |
411 | | - | |
412 | | - | |
413 | 408 | | |
414 | 409 | | |
415 | 410 | | |
| |||
427 | 422 | | |
428 | 423 | | |
429 | 424 | | |
430 | | - | |
431 | | - | |
432 | 425 | | |
433 | 426 | | |
434 | 427 | | |
| |||
450 | 443 | | |
451 | 444 | | |
452 | 445 | | |
| 446 | + | |
453 | 447 | | |
454 | 448 | | |
455 | 449 | | |
| |||
0 commit comments