From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org
Cc: Vasily Averin <vvs@virtuozzo.com>, Matt Turner <mattst88@gmail.com>
Subject: [PATCH] alpha: c_next should increase position index
Date: Wed, 10 Jun 2020 17:45:18 -0700 [thread overview]
Message-ID: <20200611004518.1433720-1-mattst88@gmail.com> (raw)
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
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 f19aa577354b..0964f373c4ba 100644
--- a/arch/alpha/kernel/setup.c
+++ b/arch/alpha/kernel/setup.c
@@ -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;
}
--
2.26.2
reply other threads:[~2020-06-11 0:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200611004518.1433720-1-mattst88@gmail.com \
--to=mattst88@gmail.com \
--cc=linux-alpha@vger.kernel.org \
--cc=vvs@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).