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>
Wed, 29 Jul 2020 08:19:35 +0000 (10:19 +0200)
commitca0852f88d9619d886da7baad0e84ecfb3ef0c8d
treef5781a7e512b510ecd19bf38eb1c3bcc9b215b99
parent2c652bbd9cdfa6bea590211ac57a27221788129d
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