]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/cmdline.c
lib/cmdline.c: mark expected switch fall-throughs
[linux.git] / lib / cmdline.c
index 171c19b6888e207bd663e9e41a87c7b0fad9a1de..dc59d62163181abcc1bb4b7b66f385e11d728d1c 100644 (file)
@@ -135,18 +135,23 @@ unsigned long long memparse(const char *ptr, char **retptr)
        case 'E':
        case 'e':
                ret <<= 10;
+               /* fall through */
        case 'P':
        case 'p':
                ret <<= 10;
+               /* fall through */
        case 'T':
        case 't':
                ret <<= 10;
+               /* fall through */
        case 'G':
        case 'g':
                ret <<= 10;
+               /* fall through */
        case 'M':
        case 'm':
                ret <<= 10;
+               /* fall through */
        case 'K':
        case 'k':
                ret <<= 10;