diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 8e67634e79a0d1f16d033e9e7ecdf3bcdd416f56..d47d38ac71b16f31f530d1bfd9656eb0e288f401 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;