Uevents are suppressed during attributes registration, but never restored, so kobject_uevent() does nothing.
Showing the changes to kernel/workqueue.c (1 of 1 file). Show all
Unified · Split
| @@ -3284,6 +3284,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq) · 3283 unmodified lines | ||
| 3284 | 3284 | } |
| 3285 | 3285 | } |
| 3286 | 3286 | |
| 3287 | + dev_set_uevent_suppress(&wq_dev->dev, false); | |
| 3287 | 3288 | kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD); |
| 3288 | 3289 | return 0; |
| 3289 | 3290 | } |