diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-09-03 14:38:06 -0500 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-09-08 01:39:47 +0900 |
commit | 426d5a0f9733ecc2c4d7b252672fa8b1970d1c91 (patch) | |
tree | e21bf7cba0a943c55e3f1387770cf1d99ec93463 /fs/9p/vfs_file.c | |
parent | 8b894adb2b7e1d1e64b8954569c761eaf3d51ab5 (diff) | |
download | linux-426d5a0f9733ecc2c4d7b252672fa8b1970d1c91.tar.bz2 |
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>
Diffstat (limited to 'fs/9p/vfs_file.c')
-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) break; default: WARN_ONCE(1, "unknown lock status code: %d\n", status); - /* fallthough */ + /* fall through */ case P9_LOCK_ERROR: case P9_LOCK_GRACE: res = -ENOLCK; |