diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2011-02-04 22:30:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-22 00:21:53 +0100 |
commit | 98562ad8cb03fa6b7ba7f50168cdb34a98abcc1d (patch) | |
tree | 2ab860a56a6d7adb2df6aea4202f24d7bd301dff /drivers/lguest/hypercalls.c | |
parent | Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg... (diff) | |
download | linux-98562ad8cb03fa6b7ba7f50168cdb34a98abcc1d.tar.xz linux-98562ad8cb03fa6b7ba7f50168cdb34a98abcc1d.zip |
module: explicitly align module_version_attribute structure
We force particular alignment when we generate attribute structures
when generation MODULE_VERSION() data and we need to make sure that
this alignment is followed when we iterate over these structures,
otherwise we may crash on platforms whose natural alignment is not
sizeof(void *), such as m68k.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
[ There are more issues here, but the fixes are incredibly ugly - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/lguest/hypercalls.c')
0 files changed, 0 insertions, 0 deletions