Commit efac5ae4 authored by Cornelia Huck's avatar Cornelia Huck
Browse files

s390x/pci: add some fallthrough annotations



According to the comment, the bits are supposed to accumulate.

Reported-by: default avatarStefan Weil <sw@weilnetz.de>
Fixes: 5d1abf23 ("s390x/pci: enforce zPCI state checking")
Acked-by: default avatarCollin Walling <walling@linux.ibm.com>
Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
parent 0b18cfb8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1209,8 +1209,10 @@ int stpcifc_service_call(S390CPU *cpu, uint8_t r1, uint64_t fiba, uint8_t ar,
     * FH Enabled bit is set to one in states of ENABLED, BLOCKED or ERROR. */
    case ZPCI_FS_ERROR:
        fib.fc |= 0x20;
        /* fallthrough */
    case ZPCI_FS_BLOCKED:
        fib.fc |= 0x40;
        /* fallthrough */
    case ZPCI_FS_ENABLED:
        fib.fc |= 0x80;
        if (pbdev->iommu->enabled) {