|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6 11/15] xsm, argo: XSM control for argo register
> -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;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |