[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v11 8/9] xen: use DECLARE_BOUNDS in alternative.c
>>> On 05.03.19 at 23:38, <sstabellini@xxxxxxxxxx> wrote: > @@ -193,8 +191,10 @@ void init_or_livepatch apply_alternatives(struct > alt_instr *start, Seeing this relevant part of the function parameters, ... > * > * So be careful if you want to change the scan order to any other > * order. > + * > + * start and end could be pointers to different objects. > */ > - for ( a = base = start; a < end; a++ ) > + for ( a = base = (struct alt_instr *)start; alt_instr_lt(a, end); a++ ) ... why the cast? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |