]> git.baikalelectronics.ru Git - kernel.git/commit
s390/diag: fix display of diagnose call statistics
authorMichael Mueller <mimu@linux.ibm.com>
Tue, 3 Mar 2020 15:42:01 +0000 (16:42 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 25 Mar 2020 11:39:37 +0000 (12:39 +0100)
commit88472aaf0d0cf5af715e6f99c58ac8d1e28a5e46
tree15954ba758217d65e7b8abff4ea45de15c1cdd4c
parent34bcca945411b9a26ba9b15658201a7c7a14676e
s390/diag: fix display of diagnose call statistics

Show the full diag statistic table and not just parts of it.

The issue surfaced in a KVM guest with a number of vcpus
defined smaller than NR_DIAG_STAT.

Fixes: 5c332da1910d ("s390/diag: add a statistic for diagnose calls")
Cc: stable@vger.kernel.org
Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/diag.c