Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/uaccess: add "fallthrough" comments

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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
12d84713 20b4fb48

+3
+3
arch/s390/lib/uaccess_pt.c
··· 89 89 if (unlikely(*table & _REGION_ENTRY_INV)) 90 90 return -0x39UL; 91 91 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); 92 + /* fallthrough */ 92 93 case _ASCE_TYPE_REGION2: 93 94 table = table + ((address >> 42) & 0x7ff); 94 95 if (unlikely(*table & _REGION_ENTRY_INV)) 95 96 return -0x3aUL; 96 97 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); 98 + /* fallthrough */ 97 99 case _ASCE_TYPE_REGION3: 98 100 table = table + ((address >> 31) & 0x7ff); 99 101 if (unlikely(*table & _REGION_ENTRY_INV)) 100 102 return -0x3bUL; 101 103 table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN); 104 + /* fallthrough */ 102 105 case _ASCE_TYPE_SEGMENT: 103 106 table = table + ((address >> 20) & 0x7ff); 104 107 if (unlikely(*table & _SEGMENT_ENTRY_INV))