Skip to content

Commit 34eed81

Browse files
committed
Fix depmod issue found in rust-next (2)
We can also take out this one. Reported-by: Heiko Carstens <[email protected]> Reported-by: Daniel Axtens <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent d72964e commit 34eed81

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)