modutils: oveflow fix

This commit is contained in:
Denis Vlasenko committed 2009-02-26 12:00:52 +00:00
1 parent 9aa5c652e9
commit 48637e0924
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -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;