aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-05-28 08:04:33 -0400
committerDavid Vrabel <david.vrabel@citrix.com>2015-05-28 10:12:59 -0400
commit01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e (patch)
treeda79878e7fb04b42241a7d56bb9c974912665d71
parentc4ace5daf4ff726402b13f1ababf2ad0e0ceec65 (diff)
xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()
Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
-rw-r--r--drivers/xen/tmem.c2
1 files changed, 1 insertions, 1 deletions
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)
395 } 395 }
396#endif 396#endif
397#ifdef CONFIG_CLEANCACHE 397#ifdef CONFIG_CLEANCACHE
398 BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid)); 398 BUILD_BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid));
399 if (tmem_enabled && cleancache) { 399 if (tmem_enabled && cleancache) {
400 int err; 400 int err;
401 401