[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/shadow: Clean up use of assertions in multi.c
>>> On 16.04.14 at 20:35, <andrew.cooper3@xxxxxxxxxx> wrote: > Use BUILD_BUG_ON()s in preference to ASSERT(sizeof(foo) == sizeof (bar)). > > sh_map_domain_page() is just a thin wrapper around map_domain_page(), which > cannot fail. Asserting its success is redundant. > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |