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

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: add fallthrough comments to expr_compare_type()

Clarify the missing 'break' is intentional.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+5
+5
scripts/kconfig/expr.c
··· 1083 1083 case E_GTH: 1084 1084 if (t2 == E_EQUAL || t2 == E_UNEQUAL) 1085 1085 return 1; 1086 + /* fallthrough */ 1086 1087 case E_EQUAL: 1087 1088 case E_UNEQUAL: 1088 1089 if (t2 == E_NOT) 1089 1090 return 1; 1091 + /* fallthrough */ 1090 1092 case E_NOT: 1091 1093 if (t2 == E_AND) 1092 1094 return 1; 1095 + /* fallthrough */ 1093 1096 case E_AND: 1094 1097 if (t2 == E_OR) 1095 1098 return 1; 1099 + /* fallthrough */ 1096 1100 case E_OR: 1097 1101 if (t2 == E_LIST) 1098 1102 return 1; 1103 + /* fallthrough */ 1099 1104 default: 1100 1105 break; 1101 1106 }