diff options
| author | Arnd Bergmann <[email protected]> | 2017-02-01 16:57:56 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2017-02-02 15:48:35 +0000 |
| commit | 26a346f23c5291d1d9521e72763103daf2c6f0d1 (patch) | |
| tree | 9f77d64d2215c696101ecdc4c4cd7fa8ca1ba422 /net/unix/af_unix.c | |
| parent | tracing: Fix hwlat kthread migration (diff) | |
| download | kernel-26a346f23c5291d1d9521e72763103daf2c6f0d1.tar.gz kernel-26a346f23c5291d1d9521e72763103daf2c6f0d1.zip | |
tracing/kprobes: Fix __init annotation
clang complains about "__init" being attached to a struct name:
kernel/trace/trace_kprobe.c:1375:15: error: '__section__' attribute only applies to functions and global variables
The intention must have been to mark the function as __init instead of
the type, so move the attribute there.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: f18f97ac43d7 ("tracing/kprobes: Add a helper method to return number of probe hits")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
