mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.6.18-rc1-mm1: fix stub version of module_get_kallsym()
@ 2006-07-12 19:26 Dave Hansen
  0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2006-07-12 19:26 UTC (permalink / raw)
  To: agruen; +Cc: akpm, linux-kernel, Dave Hansen


Get this error when modules are compiled off:

kernel/kallsyms.c: In function `get_ksymbol_mod':
kernel/kallsyms.c:279: error: too many arguments to function `module_get_kallsym'

Seems to be from:
	
	null-terminate-over-long-proc-kallsyms-symbols.patch

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 lxc-dave/include/linux/module.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN kernel/kallsyms.c~fix-get_ksymbol_mod-calls-module_get_kallsym kernel/kallsyms.c
diff -puN kernel/module.c~fix-get_ksymbol_mod-calls-module_get_kallsym kernel/module.c
diff -puN include/linux/module.h~fix-get_ksymbol_mod-calls-module_get_kallsym include/linux/module.h
--- lxc/include/linux/module.h~fix-get_ksymbol_mod-calls-module_get_kallsym	2006-07-12 12:22:05.000000000 -0700
+++ lxc-dave/include/linux/module.h	2006-07-12 12:22:22.000000000 -0700
@@ -534,7 +534,8 @@ static inline const char *module_address
 static inline struct module *module_get_kallsym(unsigned int symnum,
 						unsigned long *value,
 						char *type,
-						char namebuf[128])
+						char namebuf[128],
+						size_t namelen)
 {
 	return NULL;
 }
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-12 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-12 19:26 [PATCH] 2.6.18-rc1-mm1: fix stub version of module_get_kallsym() Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®