From 01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 28 May 2015 13:04:33 +0100 Subject: [PATCH] xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON() Signed-off-by: Jan Beulich Signed-off-by: David Vrabel --- drivers/xen/tmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index c4211a31612d..c87fdee13ee9 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; -- 2.20.1