projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b148641
)
compat: fix warning on trace backport for 2.6.29 and older
author
Luis R. Rodriguez
<mcgrof@frijolero.org>
Fri, 30 Mar 2012 23:44:31 +0000
(16:44 -0700)
committer
Luis R. Rodriguez
<mcgrof@frijolero.org>
Fri, 30 Mar 2012 23:44:31 +0000
(16:44 -0700)
The unregister callback returns void but we are returning something,
fix that.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
include/linux/tracepoint.h
patch
|
blob
|
history
diff --git
a/include/linux/tracepoint.h
b/include/linux/tracepoint.h
index d469235b5ad1f03a141cd45dda9b57d4ad30c2f1..23eb76058b3e05d35d36635865494fe0ca11573d 100644
(file)
--- a/
include/linux/tracepoint.h
+++ b/
include/linux/tracepoint.h
@@
-97,7
+97,6
@@
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
static inline void \
unregister_trace_##name(void (*probe)(proto)) \
{ \
- return -ENOSYS; \
} \
static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \
{ \