aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-09-21 12:22:11 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-23 04:34:21 -0400
commit115e8a288252ef748f34f8b7c1115c563d702eda (patch)
tree8fb0f431ac188a34575fd13fcdb94e3dcd5fa433 /kernel/module.c
parent9961079348d43dddb1f21118c17f054f63bbaa05 (diff)
modules, tracing: Remove stale struct marker signature from module_layout()
Linus reported this new build warning: kernel/module.c:2951: warning: ?struct marker? declared inside parameter list kernel/module.c:2951: warning: its scope is only this definition or declaration, which is probably not what you want Caused by: fc53776: tracing: Remove markers module_layout() is an artificial symbol with 'significant' symbols listed in its argument list so that it gets a proper argument types signature that modversions can pick up to decide whether a module is version-compatible or not. If these dont match then we wont even look at a module. Remove the stale marker symbol. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> LKML-Reference: <alpine.LFD.2.01.0909210908020.4950@localhost.localdomain> Cc: Christoph Hellwig <hch@lst.de> Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index b6ee424245d..392eb3defbc 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -2947,7 +2947,6 @@ void module_layout(struct module *mod,
2947 struct modversion_info *ver, 2947 struct modversion_info *ver,
2948 struct kernel_param *kp, 2948 struct kernel_param *kp,
2949 struct kernel_symbol *ks, 2949 struct kernel_symbol *ks,
2950 struct marker *marker,
2951 struct tracepoint *tp) 2950 struct tracepoint *tp)
2952{ 2951{
2953} 2952}