From 48637e0924dcd13629ebf3aeffa80cdda1beb5af Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Feb 2009 12:00:52 +0000 Subject: modutils: oveflow fix --- modutils/modutils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modutils/modutils.h') diff --git a/modutils/modutils.h b/modutils/modutils.h index 6aaf79daa..cc7c65351 100644 --- a/modutils/modutils.h +++ b/modutils/modutils.h @@ -15,8 +15,9 @@ # pragma GCC visibility push(hidden) #endif -/* As defined in linux/include/linux/module.h */ -#define MODULE_NAME_LEN 64 +/* linux/include/linux/module.h has 64, but this is also used + * internally for the maximum alias name length, which can be quite long */ +#define MODULE_NAME_LEN 256 const char *moderror(int err) FAST_FUNC; llist_t *llist_find(llist_t *first, const char *str) FAST_FUNC; -- cgit v1.2.3