s390/cpum_cf: provide counter number to validate_ctr_version()
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 6 Apr 2023 09:32:18 +0000 (11:32 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 19 Apr 2023 14:48:14 +0000 (16:48 +0200)
commit9ae9b868aeaad377f6315d7196a43e8827e24cb3
treefea1f83e682ef156f9e0561f5c5d736852c6b1b8
parent46c4d945ea1f9beebf49148b0d4aafb44e41ceb6
s390/cpum_cf: provide counter number to validate_ctr_version()

Function validate_ctr_version() first parameter is a pointer to
a large structure, but only member hw_perf_event::config is used.
Supply this structure member value in the function invocation.

No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf.c