Skip to content
  • Thomas Gleixner's avatar
    x86/fpu/math-emu: Address fallthrough warnings · 91be2587
    Thomas Gleixner authored
    
    
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/errors.c: In function ‘FPU_printall’:
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/errors.c:187:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
        tagi = FPU_Special(r);
        ~~~~~^~~~~~~~~~~~~~~~
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/errors.c:188:3: note: here
       case TAG_Valid:
       ^~~~
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/fpu_trig.c: In function ‘fyl2xp1’:
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/fpu_trig.c:1353:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
        if (denormal_operand() < 0)
           ^
    /home/tglx/work/kernel/linus/linux/arch/x86/math-emu/fpu_trig.c:1356:3: note: here
       case TAG_Zero:
    
    Remove the pointless 'break;' after 'continue;' while at it.
    
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    91be2587