From: Alexey Dobriyan Date: Tue, 8 May 2007 07:28:38 +0000 (-0700) Subject: Simplify module_get_kallsym() by dropping length arg X-Git-Tag: v2.6.22-rc1~689 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae84e324709d6320ed8c1fd7b1736fcbaf26df95;p=pandora-kernel.git 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 Acked-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed