xtensa: update *pos in cpuinfo_op.next
commit0edfdefc0a9c6f48a3ca4c27d7e5872432c99d0a
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Jul 2020 15:32:25 +0000 (2 08:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:18:26 +0000 (29 10:18 +0200)
tree3c50df9a60e3fcdf504998571095616223f9b03b
parentdf5b65f5df3e1c86d52d007a62c9fa1cd47c1072
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