aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-02-26 17:01:17 -0500
committerJens Axboe <jens.axboe@oracle.com>2010-02-28 13:42:31 -0500
commit1b7d0d28ad82cbd5650c26ec8e370176b112e407 (patch)
tree5b7cd9a673ad2fe6c28d141d8822b0ea80095bd4 /drivers/block/cciss.c
parent58daa9ce96b847ed130453f5fdd63c579fb1f84f (diff)
cciss: detect bad alignment of scsi commands at build time
cciss: detect bad alignment of scsi commands at build time Incidentally fix some nearby c++ style comments. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index a29e69418a03..cd8c7c20b1c3 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -4496,7 +4496,7 @@ static int __init cciss_init(void)
4496 * boundary. Given that we use pci_alloc_consistent() to allocate an 4496 * boundary. Given that we use pci_alloc_consistent() to allocate an
4497 * array of them, the size must be a multiple of 8 bytes. 4497 * array of them, the size must be a multiple of 8 bytes.
4498 */ 4498 */
4499 BUILD_BUG_ON(sizeof(CommandList_struct) % 8); 4499 BUILD_BUG_ON(sizeof(CommandList_struct) % COMMANDLIST_ALIGNMENT);
4500 4500
4501 printk(KERN_INFO DRIVER_NAME "\n"); 4501 printk(KERN_INFO DRIVER_NAME "\n");
4502 4502