VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Gustavo A. R. Silva <gustavo@embeddedor.com> 2019-01-23 02:48:28 -0600 committer: Gustavo A. R. Silva <gustavo@embeddedor.com> 2019-04-08 18:21:02 -0500 commit: 0a4c92657f2543bb8fd480c5af90c6bb87f18e00 parent: 17403fa277eda1328a7026dfca7e40249f27dc6b
Commit Summary:
fs: mark expected switch fall-throughs
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 1dea7a8a5255..abe27ec43176 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -317,6 +317,7 @@ loff_t seq_lseek(struct file *file, loff_t offset, int whence)
 	switch (whence) {
 	case SEEK_CUR:
 		offset += file->f_pos;
+		/* fall through */
 	case SEEK_SET:
 		if (offset < 0)
 			break;