diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-24 22:08:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-26 16:42:52 +0900 |
commit | 1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8 (patch) | |
tree | 7e4c3959a045eade84af2ad671329517bc2ae678 /tools/perf/scripts/python/futex-contention.py | |
parent | f926da42218c9d6a6e34a314cd5c9535bcd81627 (diff) |
usb: sierra: fix a missing check of device_create_file
device_create_file() could fail and return an error code. The fix
captures the error and returns the error code upstream in case it
indeed failed.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions