]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()
authorJan Beulich <JBeulich@suse.com>
Thu, 28 May 2015 12:04:33 +0000 (13:04 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 28 May 2015 14:12:59 +0000 (15:12 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/tmem.c

index c4211a31612d447d3f40ad61f11c10e4cb4d0e5d..c87fdee13ee9a863a349be296ac5e05caae03498 100644 (file)
@@ -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;