diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-05-28 15:04:33 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-05-28 17:12:59 +0300 |
commit | 01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e (patch) | |
tree | da79878e7fb04b42241a7d56bb9c974912665d71 /drivers/xen/tmem.c | |
parent | c4ace5daf4ff726402b13f1ababf2ad0e0ceec65 (diff) | |
download | linux-01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e.tar.xz |
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/tmem.c')
-rw-r--r-- | drivers/xen/tmem.c | 2 |
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; |