Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • lib
  • api
  • fs
  • debugfs.c
Find file BlameHistoryPermalink
  • Alexey Brodkin's avatar
    perf tools: Fix statfs.f_type data type mismatch build error with uclibc · db1806ed
    Alexey Brodkin authored Jan 10, 2015
    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: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Cody P Schafer <dev@codyps.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
    Link: http://lkml.kernel.org/r/1420888254-17504-2-git-send-email-vgupta@synopsys.com
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    db1806ed
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7