Skip to contentSkip to conversation

alpha: c_next should increase position index

PATCH New Matt Turner 1 participant 1 message Jun 11, 2020 Alpha port

lore
Share & tools
lore

Matt Turner

author maintainer
#0 lore raw

PATCH 1/1 alpha: c_next should increase position index

---
 arch/alpha/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)
arch/alpha/kernel/setup.c +1 -0
index f19aa577354b..0964f373c4ba 100644
@@ -1412,6 +1412,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;
 }
 
Signature · 1 line
2.26.2