diff options
author | Alexandre Bounine <[email protected]> | 2016-08-02 14:06:49 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-08-02 19:35:36 -0400 |
commit | 06e1b2497ca4783f5f9997b09c77d93aeea69ec1 (patch) | |
tree | 7e94d59bf473eefd309b926f930e9de91670976e /tools/perf/util/trace-event-scripting.c | |
parent | f5485eb0b6eb8a3e5841cfea34a930822f7252bc (diff) |
rapidio: fix error handling in mbox request/release functions
Add checking for error code returned by HW-specific mbox open routines.
Ensure that resources are properly release if failed.
This patch is applicable to kernel versions starting from v2.6.15.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Andre van Herk <[email protected]>
Cc: Barry Wood <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions