diff options
author | Thomas Richter <[email protected]> | 2022-06-14 12:40:46 +0200 |
---|---|---|
committer | Alexander Gordeev <[email protected]> | 2022-06-23 17:23:59 +0200 |
commit | 541a496644512ebed429b33f19a3fadfb19c6ee7 (patch) | |
tree | ccbb694af447eefee9542bb568b3ccb0e428e9e0 /include/linux/fpga/fpga-mgr.h | |
parent | be857b7f77d130dbbd47c91fc35198b040f35865 (diff) |
s390/pai: Prevent invalid event number for pai_crypto PMU
The pai_crypto PMU has to check the event number. It has to be in
the supported range. This is not the case, the lower limit is not
checked. Fix this and obey the lower limit.
Fixes: 39d62336f5c1 ("s390/pai: add support for cryptography counters")
Signed-off-by: Thomas Richter <[email protected]>
Suggested-by: Sumanth Korikkar <[email protected]>
Reviewed-by: Sumanth Korikkar <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions