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 d1fba11..e6d8aad 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;
 }