aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 4f9b6d79201..5d0e135824f 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -3898,6 +3898,13 @@ static struct pci_driver cciss_pci_driver = {
3898 */ 3898 */
3899static int __init cciss_init(void) 3899static int __init cciss_init(void)
3900{ 3900{
3901 /*
3902 * The hardware requires that commands are aligned on a 64-bit
3903 * boundary. Given that we use pci_alloc_consistent() to allocate an
3904 * array of them, the size must be a multiple of 8 bytes.
3905 */
3906 BUILD_BUG_ON(sizeof(CommandList_struct) % 8);
3907
3901 printk(KERN_INFO DRIVER_NAME "\n"); 3908 printk(KERN_INFO DRIVER_NAME "\n");
3902 3909
3903 /* Register for our PCI devices */ 3910 /* Register for our PCI devices */