]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xtensa: update *pos in cpuinfo_op.next
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Jul 2020 15:32:25 +0000 (08:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2020 14:43:12 +0000 (16:43 +0200)
commit8a0f6e6d2252ff938af94fcc8404fc4ac21de2a1
tree6383c740b69ef0c0f91f518f3f37bd00ed099507
parent0f5a8ffc2e708dfea4ce982ceed9c24c1954fc33
xtensa: update *pos in cpuinfo_op.next

[ Upstream commit 0d5ab144429e8bd80889b856a44d56ab4a5cd59b ]

Increment *pos in the cpuinfo_op.next to fix the following warning
triggered by cat /proc/cpuinfo:

  seq_file: buggy .next function c_next did not update position index

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/xtensa/kernel/setup.c