]> git.baikalelectronics.ru Git - kernel.git/commitdiff
alpha: c_next should increase position index
authorMatt Turner <mattst88@gmail.com>
Wed, 10 Jun 2020 23:59:30 +0000 (16:59 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 13 Jun 2020 00:43:18 +0000 (17:43 -0700)
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/setup.c

index d1fba112bdb4f58138f024f84d1b462f41bc05c2..e6d8aad15b22cf5d51f4213ba7d3fdb83b93a222 100644 (file)
@@ -1420,6 +1420,7 @@ c_start(struct seq_file *f, loff_t *pos)
 static void *
 c_next(struct seq_file *f, void *v, loff_t *pos)
 {
+       (*pos)++;
        return NULL;
 }