Skip to content
Snippets Groups Projects
Commit 10cbda97 authored by Jens Axboe's avatar Jens Axboe
Browse files

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 8a3173de
didn't change the size of the command, but other additions/changes may and
thus break badly at runtime.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent a7fcd37c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment