Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository

Switch branch/tag
  • ipipe-x86
  • kernel
  • trace
  • trace_output.c
Find file BlameHistoryPermalink
  • Jaswinder Singh Rajput's avatar
    tracing: trace_output.c, fix false positive compiler warning · 48dd0fed
    Jaswinder Singh Rajput authored May 06, 2009
    
    
    This compiler warning:
    
      CC      kernel/trace/trace_output.o
     kernel/trace/trace_output.c: In function ‘register_ftrace_event’:
     kernel/trace/trace_output.c:544: warning: ‘list’ may be used uninitialized in this function
    
    Is wrong as 'list' is always initialized - but GCC (4.3.2) does not
    recognize this relationship properly.
    
    Work around the warning by initializing the variable to NULL.
    
    [ Impact: fix false positive compiler warning ]
    Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
    Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    48dd0fed

Replace trace_output.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy