From: David Howells Date: Mon, 22 Oct 2012 14:05:48 +0000 (+0100) Subject: MODSIGN: Don't use enum-type bitfields in module signature info block X-Git-Tag: v3.7~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12e130b04580532aa099893158aa2776b321ae7f;p=pandora-kernel.git MODSIGN: Don't use enum-type bitfields in module signature info block Don't use enum-type bitfields in the module signature info block as we can't be certain how the compiler will handle them. As I understand it, it is arch dependent, and it is possible for the compiler to rearrange them based on endianness and to insert a byte of padding to pad the three enums out to four bytes. Instead use u8 fields for these, which the compiler should emit in the right order without padding. Signed-off-by: David Howells Signed-off-by: Rusty Russell --- Reading git-diff-tree failed