diff options
author | 2015-05-28 13:04:33 +0100 | |
---|---|---|
committer | 2015-05-28 15:12:59 +0100 | |
commit | 01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e (patch) | |
tree | da79878e7fb04b42241a7d56bb9c974912665d71 | |
parent | hvc_xen: avoid uninitialized variable warning (diff) | |
download | wireguard-linux-01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e.tar.xz wireguard-linux-01b720f3295b6c1b2dcfc1affd0fedc6f5d28c1e.zip |
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 '')
-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; |