Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01b720f3 authored by Jan Beulich's avatar Jan Beulich Committed by David Vrabel
Browse files

xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

parent c4ace5da
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -395,7 +395,7 @@ static int __init xen_tmem_init(void)
	}
	}
#endif
#endif
#ifdef CONFIG_CLEANCACHE
#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) {
	if (tmem_enabled && cleancache) {
		int err;
		int err;