Skip to content

Commit f8bc8e9

Browse files
authored
Merge pull request #139 from ojeda/fix-depmod
Fix depmod issue found in rust-next (2)
2 parents d72964e + 34eed81 commit f8bc8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mod/modpost.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ enum export {
5151
* here we use Elf_Addr instead of long for covering cross-compile
5252
*/
5353

54-
#define MODULE_NAME_LEN (256 - sizeof(Elf_Addr))
54+
#define MODULE_NAME_LEN (64 - sizeof(Elf_Addr))
5555

5656
void __attribute__((format(printf, 2, 3)))
5757
modpost_log(enum loglevel loglevel, const char *fmt, ...)

0 commit comments

Comments
 (0)