diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-01-17 11:04:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-01-17 11:04:35 +0100 |
commit | d01de2389c0190f5959f0a1258a2e87d2fe4ca82 (patch) | |
tree | 7c4708991245cf4abf4161b5ffa9741c0ff2bb9c /tools/lib/api/fs/fs.c | |
parent | 33636732dcd7cc738a5913bb730d663c6b03c8fb (diff) | |
parent | 6bcf9c1ff3ec22fd81eba336737d9865476509b1 (diff) | |
download | blackbird-op-linux-d01de2389c0190f5959f0a1258a2e87d2fe4ca82.tar.gz blackbird-op-linux-d01de2389c0190f5959f0a1258a2e87d2fe4ca82.zip |
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo:
- Fix segfault when using both the map symtab viewer and annotation
in the TUI (Namhyung Kim).
- uClibc build fixes (Alexey Brodkin, Vineet Gupta).
- bitops/hweight were moved from tools/perf/ too tools/include, move
some leftovers (Arnaldo Carvalho de Melo)
- Fix dwarf unwind x86_64 build error (Namhyung Kim)
- Fix __machine__findnew_thread() error path (Namhyung Kim)
- Propagate error code when write(2) failed in 'perf probe' (Namhyung Kim)
- Use dwfl_report_elf() instead of offline in powerpc bits to
properly handle non prelinked DSOs (Sukadev Bhattiprolu).
- Fix dwarf unwind using libunwind in 'perf test' (Wang Nan)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/api/fs/fs.c')
-rw-r--r-- | tools/lib/api/fs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/api/fs/fs.c b/tools/lib/api/fs/fs.c index 65d9be3f9887..128ef6332a6b 100644 --- a/tools/lib/api/fs/fs.c +++ b/tools/lib/api/fs/fs.c @@ -79,7 +79,7 @@ static int fs__valid_mount(const char *fs, long magic) if (statfs(fs, &st_fs) < 0) return -ENOENT; - else if (st_fs.f_type != magic) + else if ((long)st_fs.f_type != magic) return -ENOENT; return 0; |