diff options
| author | Kangjie Lu <[email protected]> | 2019-03-24 22:08:28 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-26 16:42:52 +0900 |
| commit | 1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8 (patch) | |
| tree | 7e4c3959a045eade84af2ad671329517bc2ae678 /tools/perf/scripts/python/netdev-times.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 <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions