>>> On 14.08.16 at 23:52, <konrad.w...@oracle.com> wrote: > --- a/xen/common/livepatch.c > +++ b/xen/common/livepatch.c > @@ -232,6 +232,29 @@ static const char *livepatch_symbols_lookup(unsigned > long addr, > return n; > } > > +static int lookup_symbol(struct livepatch_func *f, struct livepatch_elf *elf)
The latter one can and hence should be const. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel