Searched hist:df44b479654f62b478c18ee4d8bc4e9f897a9844 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/base/ |
H A D | core.c | diff df44b479654f62b478c18ee4d8bc4e9f897a9844 Wed Dec 05 12:27:44 CET 2018 Peter Rajnoha <prajnoha@redhat.com> kobject: return error code if writing /sys/.../uevent fails
Propagate error code back to userspace if writing the /sys/.../uevent file fails. Before, the write operation always returned with success, even if we failed to recognize the input string or if we failed to generate the uevent itself.
With the error codes properly propagated back to userspace, we are able to react in userspace accordingly by not assuming and awaiting a uevent that is not delivered.
Signed-off-by: Peter Rajnoha <prajnoha@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|