From: Denis Cheng Date: Mon, 21 Jan 2008 09:08:25 +0000 (+0800) Subject: module: fix the module name length in param_sysfs_builtin X-Git-Tag: v2.6.25-rc1~1165^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8686c99875f3849047660a5b6d02438443f22ce7;p=pandora-kernel.git module: fix the module name length in param_sysfs_builtin the original code use KOBJ_NAME_LEN for built-in module name length, that's defined to 20 in linux/kobject.h, but this is not enough appearntly, many module names are longer than this; #define KOBJ_NAME_LEN 20 another macro is MODULE_NAME_LEN defined in linux/module.h, I think this is enough for module names: #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) Signed-off-by: Denis Cheng Signed-off-by: Rusty Russell --- Reading git-diff-tree failed