]> Gentwo Git Trees - linux/.git/commit
s390/ap: Don't leak debug feature files if AP instructions are not available
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 24 Oct 2025 10:24:33 +0000 (12:24 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 24 Oct 2025 13:25:56 +0000 (15:25 +0200)
commit020d5dc57874e58d3ebae398f3fe258f029e3d06
treecead1d4b5a90879a3eeb3587627c827d0af5b9e8
parentf25d952ab63f5742c343c332879d88fd49c589c3
s390/ap: Don't leak debug feature files if AP instructions are not available

If no AP instructions are available the AP bus module leaks registered
debug feature files. Change function call order to fix this.

Fixes: cccd85bfb7bf ("s390/zcrypt: Rework debug feature invocations.")
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/ap_bus.c