aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2012-11-02 14:00:29 +0000
committerThomas Gleixner <[email protected]>2012-11-02 22:53:27 +0100
commit5074b85bdd3a464efe7b6de2ec163f4c07696a20 (patch)
tree8451161ef421c6017857eee38ed7a805fa83fa4e /tools/perf/util/trace-event-scripting.c
parent6acf5a8c931da9d26c8dd77d784daaf07fa2bff0 (diff)
x86: hpet: Fix inverted return value check in arch_setup_hpet_msi()
setup_hpet_msi_remapped() returns a negative error indicator on error - check for this rather than for a boolean false indication, and pass on that error code rather than a meaningless "-1". Signed-off-by: Jan Beulich <[email protected]> Cc: David Woodhouse <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions