On Fri, Jan 25, 2019 at 6:10 PM Chris Patterson <cjp...@gmail.com> wrote: > > > -static int domain_has_perm(struct domain *dom1, struct domain *dom2, > > +static int domain_has_perm(const struct domain *dom1, > > + const struct domain *dom2, > > u16 class, u32 perms) > > { > > This const conversion triggers compilation errors: > > hooks.c: In function ‘domain_has_perm’: > hooks.c:69:13: error: assignment discards ‘const’ qualifier from > pointer target type [-Werror=discarded-qualifiers] > ad.sdom = dom1; > ^ > hooks.c:70:13: error: assignment discards ‘const’ qualifier from > pointer target type [-Werror=discarded-qualifiers] > ad.tdom = dom2;
ack, repro'd and have fix. thanks. Christopher _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel