XSM: make xsm_default_action() const-correct

To be able to properly use const on dummy hook function parameters, add
const to both domain pointers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This commit is contained in:
Jan Beulich committed 2026-09-01 09:52:45 +02:00
1 parent 452ee45ee1
commit c0308bdfb7
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ void __xsm_action_mismatch_detected(void);
#endif /* CONFIG_XSM */ #endif /* CONFIG_XSM */
static always_inline int xsm_default_action( 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 ) { switch ( action ) {
case XSM_HOOK: case XSM_HOOK:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.