From: Simon Wunderlich Date: Tue, 17 Dec 2013 18:12:12 +0000 (+0100) Subject: batman-adv: add build checks for packet sizes X-Git-Tag: v3.14-rc1~94^2~203^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031ace8d052c943da7d32fbeb12de3c7ac2a5953;p=pandora-kernel.git batman-adv: add build checks for packet sizes With unrolling the batadv_header into the respective structures, the offsetof checks are now useless. Instead, add build checks for all packet types which go over the wire to avoid problems with wrong sizes or compatibility issues on some architectures which don't use every day. Signed-off-by: Simon Wunderlich Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed