xtensa: update *pos in cpuinfo_op.next
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Jul 2020 15:32:25 +0000 (08:32 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Jul 2020 15:35:02 +0000 (08:35 -0700)
commit0d5ab144429e8bd80889b856a44d56ab4a5cd59b
tree0e8965dbda5252a83de61d67d37a8aab93334940
parent73f9941306d5ce030f3ffc7db425c7b2a798cf8e
xtensa: update *pos in cpuinfo_op.next

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>
arch/xtensa/kernel/setup.c