]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/pai_crypto: emit error on too many counters
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 18 Jan 2024 12:24:45 +0000 (13:24 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 9 Feb 2024 12:58:13 +0000 (13:58 +0100)
commit3a5da4670dfad43e8e0b0c7135409c1f70230797
tree711bf3cd101ba2841bc0965f7073c7296cb063bc
parent225d09d6e5f3870560665a1829d2db79330b4c58
s390/pai_crypto: emit error on too many counters

When the device driver is initialized, it checks the number of
possible counters. Should this number be too high, emit an error
and return.

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