]> git.ipfire.org Git - people/arne_f/kernel.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>
Wed, 29 Jul 2020 05:42:51 +0000 (07:42 +0200)
commit237c7a7d9470c5a3f798b1d168f40f0e2b037c16
treeecb0171789bea2dd5ba98528f4e5f86acaa322df
parentb41b6d12ec0095828ba7dccf6efb92e7bff7b505
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