diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-09-03 15:38:06 -0400 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-09-07 12:39:47 -0400 |
commit | 426d5a0f9733ecc2c4d7b252672fa8b1970d1c91 (patch) | |
tree | e21bf7cba0a943c55e3f1387770cf1d99ec93463 | |
parent | 8b894adb2b7e1d1e64b8954569c761eaf3d51ab5 (diff) |
9p: fix spelling mistake in fall-through annotation
Replace "fallthough" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Link: http://lkml.kernel.org/r/20180903193806.GA11258@embeddedor.com
Addresses-Coverity-ID: 402012 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
-rw-r--r-- | fs/9p/vfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 5f2e48d41d72..374bc1c72048 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c | |||
@@ -216,7 +216,7 @@ static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) | |||
216 | break; | 216 | break; |
217 | default: | 217 | default: |
218 | WARN_ONCE(1, "unknown lock status code: %d\n", status); | 218 | WARN_ONCE(1, "unknown lock status code: %d\n", status); |
219 | /* fallthough */ | 219 | /* fall through */ |
220 | case P9_LOCK_ERROR: | 220 | case P9_LOCK_ERROR: |
221 | case P9_LOCK_GRACE: | 221 | case P9_LOCK_GRACE: |
222 | res = -ENOLCK; | 222 | res = -ENOLCK; |