From: Jan Beulich Date: Thu, 28 May 2015 12:04:33 +0000 (+0100) Subject: xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON() X-Git-Tag: v4.2-rc7~17^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e;p=platform%2Fkernel%2Flinux-exynos.git xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON() Signed-off-by: Jan Beulich Signed-off-by: David Vrabel --- diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index c4211a3..c87fdee 100644 --- a/drivers/xen/tmem.c +++ b/drivers/xen/tmem.c @@ -395,7 +395,7 @@ static int __init xen_tmem_init(void) } #endif #ifdef CONFIG_CLEANCACHE - BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid)); + BUILD_BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid)); if (tmem_enabled && cleancache) { int err;