[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



At 19:35 +0100 on 16 Apr (1397673321), Andrew Cooper 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>

Applied, thanks.

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.