summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-05-28 13:04:33 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-05-28 15:12:59 +0100
commit01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e (patch)
treeda79878e7fb04b42241a7d56bb9c974912665d71 /drivers/xen
parentc4ace5daf4ff726402b13f1ababf2ad0e0ceec65 (diff)
downloadlinux-01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e.tar.bz2
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>
Diffstat (limited to 'drivers/xen')
-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)
}
#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;