aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/debugfs.h
diff options
context:
space:
mode:
authorAlexey Brodkin <[email protected]>2015-01-10 16:40:50 +0530
committerArnaldo Carvalho de Melo <[email protected]>2015-01-16 17:49:29 -0300
commitdb1806edcfef007d9594435a331dcf7e7f1b8fac (patch)
tree62f171fa5f2b677734bdb0c08b4e29e8dfab1719 /tools/lib/api/fs/debugfs.h
parent25cd480e447eba47b8bdad1c9f95cadc074abc75 (diff)
perf tools: Fix statfs.f_type data type mismatch build error with uclibc
ARC Linux uses the no legacy syscalls abi and corresponding uClibc headers statfs defines f_type to be U32 which causes perf build breakage http://git.uclibc.org/uClibc/tree/libc/sysdeps/linux/common-generic/bits/statfs.h ----------->8--------------- CC fs/fs.o fs/fs.c: In function 'fs__valid_mount': fs/fs.c:82:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] else if (st_fs.f_type != magic) ^ cc1: all warnings being treated as errors ----------->8--------------- Signed-off-by: Alexey Brodkin <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Cody P Schafer <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Vineet Gupta <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/debugfs.h')
0 files changed, 0 insertions, 0 deletions