gnttab: complete compat [gs]et-version logic
PATCH 1/1 gnttab: complete compat [gs]et-version logic
While the CHECK_* macro invocations exist for these, the just-in-case CASE() invocations were missing for them.
Fixes a98dc13703e0 ("Introduce a grant_entry_v2 structure")
Signed-off-by Jan Beulich <[email protected]>
---
Alternatively, as I'm under the impression Andrew would prefer it, we could decide to drop all of these fallback #ifndef blocks.
xen/common/compat/grant_table.c +8 -0
@@ -118,10 +118,18 @@ int (compat_grant_table_op)(CASE (dump_table);#endif +#ifndef CHECK_gnttab_set_version +CASE (set_version); +#endif +#ifndef CHECK_gnttab_get_status_framesCASE (get_status_frames);#endif +#ifndef CHECK_gnttab_get_version +CASE (get_version); +#endif +#ifndef CHECK_gnttab_swap_grant_refCASE (swap_grant_ref);#endif