commit | 10cbda97e73c7d537d7174eadb2d098484f8f1da | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Feb 27 20:14:20 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 24 12:35:16 2009 +0100 |
tree | 9e67224345a082533d273f4926ce3281d6fe8bf1 | |
parent | a7fcd37cdcb47806fb8a9070f006ee34061defa6 [diff] |
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 <jens.axboe@oracle.com>