]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/zcrypt: Explicitly use a card variable in _zcrypt_send_cprb
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 18 Mar 2026 16:41:32 +0000 (17:41 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 24 Mar 2026 20:00:42 +0000 (21:00 +0100)
commit0e72b785b60e2a33f7bfe1c492f0717e7835b9a4
treece2d2488695bb9944f5f961db21792de58d7e409
parent227a9197bace4871c64ccd43b4946fc2886083b8
s390/zcrypt: Explicitly use a card variable in _zcrypt_send_cprb

Use an explicit variable "card" for the card addressing in
function _zcrypt_send_cprb instead of the confusing field
"user_defined" from the ica_xcRB struct. This makes the code
somewhat cleaner and easier to understand.

Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/zcrypt_api.c