]> git.karo-electronics.de Git - linux-beck.git/commitdiff
s390/uaccess: add "fallthrough" comments
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 29 Apr 2013 08:58:56 +0000 (10:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 2 May 2013 13:50:19 +0000 (15:50 +0200)
Add "fallthrough" comments so nobody wonders if a break statement is missing.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/uaccess_pt.c

index 466fb3383960442b7624e51990536d2cf0b8c65d..50ea137a2d3c296859b600c0ef861c07fcce5209 100644 (file)
@@ -89,16 +89,19 @@ static unsigned long follow_table(struct mm_struct *mm,
                if (unlikely(*table & _REGION_ENTRY_INV))
                        return -0x39UL;
                table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
+               /* fallthrough */
        case _ASCE_TYPE_REGION2:
                table = table + ((address >> 42) & 0x7ff);
                if (unlikely(*table & _REGION_ENTRY_INV))
                        return -0x3aUL;
                table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
+               /* fallthrough */
        case _ASCE_TYPE_REGION3:
                table = table + ((address >> 31) & 0x7ff);
                if (unlikely(*table & _REGION_ENTRY_INV))
                        return -0x3bUL;
                table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
+               /* fallthrough */
        case _ASCE_TYPE_SEGMENT:
                table = table + ((address >> 20) & 0x7ff);
                if (unlikely(*table & _SEGMENT_ENTRY_INV))