From: Sven Eckelmann Date: Mon, 5 Nov 2012 20:25:26 +0000 (+0100) Subject: batman-adv: Mark correctly aligned headers not as __packed X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~401^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6c57a460913f3c83b0e8eb51f4021fcf1c83cdc;p=pandora-kernel.git batman-adv: Mark correctly aligned headers not as __packed Headers which are already perfectly aligned and create a 4 byte boundary non-ethernet header payload can have the __packed attribute removed. The __packed attribute doesn't change the appeareance of the packet for these headers because no extra padding is necessary to align the data members. The compiler will also create slightly faster code for loads of multi-byte members. Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed