x86/platform: correct #undef in compat checking
PATCH 1/1 x86/platform: correct #undef in compat checking
A stray 'p' was there, rendering the #undef ineffectual.
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/x86_64/platform_hypercall.c +1 -1
@@ -30,7 +30,7 @@ CHECK_pf_pcpu_version;#define xen_pf_ucode_revision xenpf_ucode_revision CHECK_pf_ucode_revision; -#undef xen_pf_pucode_revision +#undef xen_pf_ucode_revision#define xen_pf_enter_acpi_sleep xenpf_enter_acpi_sleep CHECK_pf_enter_acpi_sleep;
Quoted 3 lines · Jan Beulich
A stray 'p' was there, rendering the #undef ineffectual.
Signed-off-by Jan Beulich <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
No Fixes tag?
Thanks, Roger.
Quoted 6 lines · Roger Pau Monné
Quoted 3 lines · Jan Beulich
A stray 'p' was there, rendering the #undef ineffectual.
Signed-off-by Jan Beulich <[email protected]>Acked-by Roger Pau Monné <[email protected]>
Thanks.
Quoted 1 line
No Fixes tag?
I didn't think it was worthwhile digging out the offending commit, as there's no real bug here. Assuming that a colliding identifier might be introduced elsewhere seems pretty far fetched to me. And Misra, which might have something to say here, would want us to avoid #undef altogether, iirc.
Jan