Re: [PATCH v2 01/14] XSM: make xsm_default_action() const-correct
"Daniel P. Smith" <[email protected]>
| Newsgroups | gmane.comp.emulators.xen.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/17/26 4:51 AM, Jan Beulich wrote: > To be able to properly use const on dummy hook function parameters, add > const to both domain pointers. > > Signed-off-by: Jan Beulich <[email protected]> > Reviewed-by: Jason Andryuk <[email protected]> > --- > v2: Split off from Argo patch. > > --- a/xen/include/xsm/dummy.h > +++ b/xen/include/xsm/dummy.h > @@ -76,7 +76,7 @@ void __xsm_action_mismatch_detected(void > #endif /* CONFIG_XSM */ > > static always_inline int xsm_default_action( > - xsm_default_t action, struct domain *src, struct domain *target) > + xsm_default_t action, const struct domain *src, const struct domain *target) > { > switch ( action ) { > case XSM_HOOK: > Acked-by: Daniel P. Smith <[email protected]>