From: Lucas De Marchi Date: Tue, 30 Oct 2012 04:32:48 +0000 (-0200) Subject: depmod: do not create a hole in struct depmod X-Git-Tag: v11~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b51ac407c2320cea4c588ee0bf10332a340a027a;p=thirdparty%2Fkmod.git depmod: do not create a hole in struct depmod --- diff --git a/tools/depmod.c b/tools/depmod.c index ff19d6e0..fcdb880f 100644 --- a/tools/depmod.c +++ b/tools/depmod.c @@ -995,6 +995,7 @@ struct mod { struct kmod_module *kmod; const char *path; const char *relpath; /* path relative to '$ROOT/lib/modules/$VER/' */ + char *uncrelpath; /* same as relpath but ending in .ko */ struct array deps; /* struct symbol */ size_t baselen; /* points to start of basename/filename */ size_t modnamelen; @@ -1003,7 +1004,6 @@ struct mod { uint16_t idx; /* index in depmod->modules.array */ uint16_t users; /* how many modules depend on this one */ uint8_t dep_loop : 1; - char *uncrelpath; /* same as relpath but ending in .ko */ char modname[]; };