Message ID | 20250306143357.21077-1-jgross@suse.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | xen/xsm: fix xsm_get_domain_state() in xsm.h | expand |
On 3/6/25 09:33, Juergen Gross wrote: > xsm_get_domain_state() in xsm.h is lacking a xsm_default_t parameter. > > Add it. > > Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state") > Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h index 0689bf5c9f..6c60b923fd 100644 --- a/xen/include/xsm/xsm.h +++ b/xen/include/xsm/xsm.h @@ -775,7 +775,7 @@ static inline int xsm_argo_send(const struct domain *d, const struct domain *t) #endif /* CONFIG_ARGO */ -static inline int xsm_get_domain_state(struct domain *d) +static inline int xsm_get_domain_state(xsm_default_t def, struct domain *d) { return alternative_call(xsm_ops.get_domain_state, d); }
xsm_get_domain_state() in xsm.h is lacking a xsm_default_t parameter. Add it. Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state") Signed-off-by: Juergen Gross <jgross@suse.com> --- xen/include/xsm/xsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)