git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: Convert fallthrough comments into statements
[sfrench/cifs-2.6.git]
/
drivers
/
mtd
/
ubi
/
build.c
diff --git
a/drivers/mtd/ubi/build.c
b/drivers/mtd/ubi/build.c
index 2f93c25bbaee3f4f420e963e9b62a9463533cea5..12c02342149cad5de06b260a112ac8f67cc1ecd2 100644
(file)
--- a/
drivers/mtd/ubi/build.c
+++ b/
drivers/mtd/ubi/build.c
@@
-1342,10
+1342,10
@@
static int bytes_str_to_int(const char *str)
switch (*endp) {
case 'G':
result *= 1024;
- /* fall through */
+ fallthrough;
case 'M':
result *= 1024;
- /* fall through */
+ fallthrough;
case 'K':
result *= 1024;
if (endp[1] == 'i' && endp[2] == 'B')