summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-06-11 01:59:30 +0200
committerMatt Turner <mattst88@gmail.com>2020-06-13 02:43:18 +0200
commit7812193ca88bcb6c7bddea61c8797e2d5a6df5bd (patch)
treeff90653e08a9755cb489459b7b4099b26bebfdc4 /arch
parentalpha: Replace sg++ with sg = sg_next(sg) (diff)
downloadlinux-7812193ca88bcb6c7bddea61c8797e2d5a6df5bd.tar.xz
linux-7812193ca88bcb6c7bddea61c8797e2d5a6df5bd.zip
alpha: c_next should increase position index
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
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;
}