diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2014-07-17 12:43:09 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-22 17:18:57 +0400 |
commit | a6f6ae99f12e8154d5cde6e8366fc228f68d6ae5 (patch) | |
tree | dac111c4ad4e20ea8f9ca570ce5f5686d03a3bf2 /tools/perf/tests/thread-mg-share.c | |
parent | 2336ebc32676df5b794acfe0c980583ec6c05f34 (diff) | |
download | linux-a6f6ae99f12e8154d5cde6e8366fc228f68d6ae5.tar.xz |
perf tools: Fix incorrect fd error comparison
Zero is a valid fd. Error comparison should check for negative fd.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1405586590-13657-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/thread-mg-share.c')
0 files changed, 0 insertions, 0 deletions