diff options
author | 2019-03-24 22:08:28 -0500 | |
---|---|---|
committer | 2019-03-26 16:42:52 +0900 | |
commit | 1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8 (patch) | |
tree | 7e4c3959a045eade84af2ad671329517bc2ae678 /tools/perf/scripts/python/syscall-counts.py | |
parent | usb: mtu3: add a function to switch mailbox state to string (diff) | |
download | linux-dev-1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8.tar.xz linux-dev-1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8.zip |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions