Merge branch 'akpm' (patches from Andrew)
[sfrench/cifs-2.6.git] / arch / x86 / kernel / apic / io_apic.c
index 2953bbf05c0857e36fc11ec7a7ae272e9e63bb63..264e3221d9233eaf0505338ae6f21c365540f1d6 100644 (file)
@@ -812,6 +812,7 @@ static int irq_polarity(int idx)
                return IOAPIC_POL_HIGH;
        case MP_IRQPOL_RESERVED:
                pr_warn("IOAPIC: Invalid polarity: 2, defaulting to low\n");
+               /* fall through */
        case MP_IRQPOL_ACTIVE_LOW:
        default: /* Pointless default required due to do gcc stupidity */
                return IOAPIC_POL_LOW;
@@ -859,6 +860,7 @@ static int irq_trigger(int idx)
                return IOAPIC_EDGE;
        case MP_IRQTRIG_RESERVED:
                pr_warn("IOAPIC: Invalid trigger mode 2 defaulting to level\n");
+               /* fall through */
        case MP_IRQTRIG_LEVEL:
        default: /* Pointless default required due to do gcc stupidity */
                return IOAPIC_LEVEL;