On 01/08/18 15:31, Jan Beulich wrote: > The address of an array slot can't be NULL. Instead add a bounds check > to make sure the array indexing is valid (the check is against 2 since > slot zero of the array - corresponding to C0 - is of no interest here). > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Wouldn't an expression involving ARRAY_SIZE() be more appropriate? Either way, Acked-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel