mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
qla2xxx: Add more BUILD_BUG_ON() statements
[ commit 8a73a0e002b318d8ad79fe0e6b48e27ca30e527a upstream ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -7939,13 +7939,19 @@ qla2x00_module_init(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
BUILD_BUG_ON(sizeof(cmd_a64_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(cmd_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(cont_a64_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(cont_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(init_cb_t) != 96);
|
||||
BUILD_BUG_ON(sizeof(mrk_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(ms_iocb_entry_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(request_t) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct abort_entry_24xx) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct abort_iocb_entry_fx00) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct abts_entry_24xx) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct access_chip_84xx) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct access_chip_rsp_84xx) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct cmd_bidir) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct cmd_nvme) != 64);
|
||||
BUILD_BUG_ON(sizeof(struct cmd_type_6) != 64);
|
||||
|
||||
Reference in New Issue
Block a user