Skip to contentSkip to conversation

xen/xsm: fix xsm_get_domain_state() in xsm.h

PATCH In review Juergen Gross 2 participants 2 messages Mar 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/xsm: fix xsm_get_domain_state() in xsm.h

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")
---
 xen/include/xsm/xsm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/xsm/xsm.h +1 -1
index 0689bf5c9f..6c60b923fd 100644
@@ -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);
 }
Signature · 1 line
2.43.0