From: Alexey Dobriyan Date: Wed, 11 Oct 2006 08:22:26 +0000 (-0700) Subject: [PATCH] md: use BUILD_BUG_ON X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f6e3c836508926e50cebe17ad87f59666a7fb47;p=linux-beck.git [PATCH] md: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Acked-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 8e67634e79a0..d47d38ac71b1 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -1413,7 +1413,7 @@ int bitmap_create(mddev_t *mddev) int err; sector_t start; - BUG_ON(sizeof(bitmap_super_t) != 256); + BUILD_BUG_ON(sizeof(bitmap_super_t) != 256); if (!file && !mddev->bitmap_offset) /* bitmap disabled, nothing to do */ return 0;