From e4286f6fc52095769cec7b485e6def649911cbc2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 10 Jun 2020 16:59:30 -0700 Subject: [PATCH] alpha: c_next should increase position index Signed-off-by: Matt Turner --- arch/alpha/kernel/setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index d1fba112bdb4f..e6d8aad15b22c 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c @@ -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; } -- 2.39.5