]> Git Repo - linux.git/commit - kernel/module.c
Simplify module_get_kallsym() by dropping length arg
authorAlexey Dobriyan <[email protected]>
Tue, 8 May 2007 07:28:38 +0000 (00:28 -0700)
committerLinus Torvalds <[email protected]>
Tue, 8 May 2007 18:15:08 +0000 (11:15 -0700)
commitae84e324709d6320ed8c1fd7b1736fcbaf26df95
treebb3b623f2fd491771c716957622a72e86e9582dd
parent55955aad7c09e4d93029d0cf2d360b41891f2fe4
Simplify module_get_kallsym() by dropping length arg

module_get_kallsym() could in theory truncate module symbol name to fit in
buffer, but nobody does this.  Always use KSYM_NAME_LEN + 1 bytes for name.

Suggested by lg^WRusty.

Signed-off-by: Alexey Dobriyan <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/module.h
kernel/kallsyms.c
kernel/module.c
This page took 0.055657 seconds and 4 git commands to generate.