| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This file is part of the Linux kernel, and is made available under |
|---|
| 3 | | - * the terms of the GNU General Public License version 2. |
|---|
| 4 | 3 | * |
|---|
| 5 | 4 | * Misc librarized functions for cmdline poking. |
|---|
| 6 | 5 | */ |
|---|
| .. | .. |
|---|
| 59 | 58 | state = st_wordcmp; |
|---|
| 60 | 59 | opptr = option; |
|---|
| 61 | 60 | wstart = pos; |
|---|
| 62 | | - /* fall through */ |
|---|
| 61 | + fallthrough; |
|---|
| 63 | 62 | |
|---|
| 64 | 63 | case st_wordcmp: |
|---|
| 65 | 64 | if (!*opptr) { |
|---|
| .. | .. |
|---|
| 90 | 89 | break; |
|---|
| 91 | 90 | } |
|---|
| 92 | 91 | state = st_wordskip; |
|---|
| 93 | | - /* fall through */ |
|---|
| 92 | + fallthrough; |
|---|
| 94 | 93 | |
|---|
| 95 | 94 | case st_wordskip: |
|---|
| 96 | 95 | if (!c) |
|---|
| .. | .. |
|---|
| 152 | 151 | |
|---|
| 153 | 152 | state = st_wordcmp; |
|---|
| 154 | 153 | opptr = option; |
|---|
| 155 | | - /* fall through */ |
|---|
| 154 | + fallthrough; |
|---|
| 156 | 155 | |
|---|
| 157 | 156 | case st_wordcmp: |
|---|
| 158 | 157 | if ((c == '=') && !*opptr) { |
|---|
| .. | .. |
|---|
| 173 | 172 | break; |
|---|
| 174 | 173 | } |
|---|
| 175 | 174 | state = st_wordskip; |
|---|
| 176 | | - /* fall through */ |
|---|
| 175 | + fallthrough; |
|---|
| 177 | 176 | |
|---|
| 178 | 177 | case st_wordskip: |
|---|
| 179 | 178 | if (myisspace(c)) |
|---|