| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/lib/cmdline.c |
|---|
| 3 | 4 | * Helper functions generally used for parsing kernel command line |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Code and copyrights come from init/main.c and arch/i386/kernel/setup.c. |
|---|
| 7 | 8 | * |
|---|
| 8 | | - * This source code is licensed under the GNU General Public License, |
|---|
| 9 | | - * Version 2. See the file COPYING for more details. |
|---|
| 10 | | - * |
|---|
| 11 | 9 | * GNU Indent formatting options for this file: -kr -i8 -npsl -pcs |
|---|
| 12 | | - * |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/export.h> |
|---|
| .. | .. |
|---|
| 135 | 132 | case 'E': |
|---|
| 136 | 133 | case 'e': |
|---|
| 137 | 134 | ret <<= 10; |
|---|
| 135 | + /* fall through */ |
|---|
| 138 | 136 | case 'P': |
|---|
| 139 | 137 | case 'p': |
|---|
| 140 | 138 | ret <<= 10; |
|---|
| 139 | + /* fall through */ |
|---|
| 141 | 140 | case 'T': |
|---|
| 142 | 141 | case 't': |
|---|
| 143 | 142 | ret <<= 10; |
|---|
| 143 | + /* fall through */ |
|---|
| 144 | 144 | case 'G': |
|---|
| 145 | 145 | case 'g': |
|---|
| 146 | 146 | ret <<= 10; |
|---|
| 147 | + /* fall through */ |
|---|
| 147 | 148 | case 'M': |
|---|
| 148 | 149 | case 'm': |
|---|
| 149 | 150 | ret <<= 10; |
|---|
| 151 | + /* fall through */ |
|---|
| 150 | 152 | case 'K': |
|---|
| 151 | 153 | case 'k': |
|---|
| 152 | 154 | ret <<= 10; |
|---|