• Mathieu Desnoyers's avatar
    tracepoint: Fix sparse warnings in tracepoint.c · b725dfea
    Mathieu Desnoyers authored
    Fix the following sparse warnings:
    
      CHECK   kernel/tracepoint.c
    kernel/tracepoint.c:184:18: warning: incorrect type in assignment (different address spaces)
    kernel/tracepoint.c:184:18:    expected struct tracepoint_func *tp_funcs
    kernel/tracepoint.c:184:18:    got struct tracepoint_func [noderef] <asn:4>*funcs
    kernel/tracepoint.c:216:18: warning: incorrect type in assignment (different address spaces)
    kernel/tracepoint.c:216:18:    expected struct tracepoint_func *tp_funcs
    kernel/tracepoint.c:216:18:    got struct tracepoint_func [noderef] <asn:4>*funcs
    kernel/tracepoint.c:392:24: error: return expression in void function
      CC      kernel/tracepoint.o
    kernel/tracepoint.c: In function tracepoint_module_going:
    kernel/tracepoint.c:491:6: warning: symbol 'syscall_regfunc' was not declared. Should it be static?
    kernel/tracepoint.c:508:6: warning: symbol 'syscall_unregfunc' was not declared. Should it be static?
    
    Link: http://lkml.kernel.org/r/1397049883-28692-1-git-send-email-mathieu.desnoyers@efficios.comSigned-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    b725dfea
syscalls.h 1.41 KB