Fix return code and improve feature check for synthetic uevents
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kobject: return error code if writing /sys/.../uevent failsdrivers/ drivers/ kernel/ | +19 | 2 replies | |
| 2/2 | kobject: add kernel/uevent_features sysfs filekernel/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix return code and improve feature check for synthetic uevents
Two small patches to aid handling of synthetic uevents back in userspace:
- Return error code back to userspace on /sys/.../uevent file write failure so userspace knows and it can act accordingly.
- Add new 'kernel/uevent_features' sysfs file to make it possible for userspace to check that the extended synthetic uevent arguments are supported without relying on kernel version check only.
Peter Rajnoha (2):
kobject: return error code if writing /sys/.../uevent fails
kobject: add kernel/uevent_features sysfs file
drivers/base/bus.c | 12 ++++++++---- drivers/base/core.c | 8 +++++++- kernel/ksysfs.c | 8 ++++++++ kernel/module.c | 6 ++++-- 4 files changed, 27 insertions(+), 7 deletions(-)
Signature · 1 line
2.19.2