Skip to content

Commit 7812193

Browse files
committed
alpha: c_next should increase position index
Signed-off-by: Matt Turner <[email protected]>
1 parent e66dd01 commit 7812193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/alpha/kernel/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,7 @@ c_start(struct seq_file *f, loff_t *pos)
14201420
static void *
14211421
c_next(struct seq_file *f, void *v, loff_t *pos)
14221422
{
1423+
(*pos)++;
14231424
return NULL;
14241425
}
14251426

0 commit comments

Comments
 (0)