Re: [PATCH] kernel/params.c: fix the module name length inparam_sysfs_builtin

From: Jan Engelhardt
Date: Tue Jan 22 2008 - 18:13:49 EST



On Jan 21 2008 22:16, Rusty Russell wrote:
>On Monday 21 January 2008 20:08:25 Denis Cheng wrote:
>> 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
>
>Thanks, applied. I was surprisedto learn that we have a 35-char source
>filename in the kernel.
>
>And congratulations to nf_conntrack_l3proto_ipv4_compat.c!

But nf..dada_compat.c gets linked into nf_conntrack_ipv4.ko,
and that is what is used in /sys/module - and it fits the 20.
Any place where nf_conntrack_l3proto_ipv4_compat would still be used?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/