From: Jens Axboe Date: Fri, 27 Feb 2009 19:14:20 +0000 (+0100) Subject: cciss: add BUILD_BUG_ON() for catching bad CommandList_struct alignment X-Git-Tag: v2.6.30-rc1~660^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10cbda97e73c7d537d7174eadb2d098484f8f1da;p=pandora-kernel.git cciss: add BUILD_BUG_ON() for catching bad CommandList_struct alignment The hardware requires 64-bit alignment of commands, so add a build bug check for that. The recent commit 8a3173de4ab4cdacc43675dc5c077f9a5bf17f5f didn't change the size of the command, but other additions/changes may and thus break badly at runtime. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed