commit | 9dd7e9b6f4c96cc1fd1c930452c7f54c12892b9d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 14 20:59:38 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Dec 15 11:22:30 2017 +0000 |
tree | fc034a9d167c059fadafe16869e929eb4e6f701c | |
parent | d35ce13878e53c08fad2d43fec411eb041d24bb5 [diff] |
lib/sysfs: Handle EINTR from vfprintf() Some write operations into sysfs may be slow and potentially interrupted by a signal. So handle EINTR by repeating the vfprintf(). A partial is reported back to the caller, as is any other error. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com