From: Dave Hansen <haveblue@us.ibm.com>
To: agruen@suse.de
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
Dave Hansen <haveblue@us.ibm.com>
Subject: [PATCH] 2.6.18-rc1-mm1: fix stub version of module_get_kallsym()
Date: Wed, 12 Jul 2006 12:26:41 -0700 [thread overview]
Message-ID: <20060712192641.108BD64D@localhost.localdomain> (raw)
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;
}
_
reply other threads:[~2006-07-12 19:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060712192641.108BD64D@localhost.localdomain \
--to=haveblue@us.ibm.com \
--cc=agruen@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®