]> xenbits.xensource.com Git - xen.git/commitdiff
x86/cpuid: use fallthrough pseudo keyword
authorFederico Serafini <federico.serafini@bugseng.com>
Wed, 24 Jul 2024 09:42:53 +0000 (11:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Jul 2024 09:42:53 +0000 (11:42 +0200)
The current comment making explicit the fallthrough intention does
not follow the agreed syntax: replace it with the pseduo keyword.

No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c

index a822e80c7ea794e79aa07781f3ab06a95c71814e..2a777436ee27b509197ee5a8e8b8ddbdac541a57 100644 (file)
@@ -97,9 +97,8 @@ void guest_cpuid(const struct vcpu *v, uint32_t leaf,
         if ( is_viridian_domain(d) )
             return cpuid_viridian_leaves(v, leaf, subleaf, res);
 
+        fallthrough;
         /*
-         * Fallthrough.
-         *
          * Intel reserve up until 0x4fffffff for hypervisor use.  AMD reserve
          * only until 0x400000ff, but we already use double that.
          */