From: Matt Turner Date: Wed, 10 Jun 2020 23:59:30 +0000 (-0700) Subject: alpha: c_next should increase position index X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7812193ca88bcb6c7bddea61c8797e2d5a6df5bd;p=uclinux-h8%2Flinux.git alpha: c_next should increase position index Signed-off-by: Matt Turner --- diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index d1fba112bdb4..e6d8aad15b22 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; }