]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/zcrypt: Make apfs a real unsigned int field
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 18 Mar 2026 16:41:30 +0000 (17:41 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 24 Mar 2026 20:00:41 +0000 (21:00 +0100)
commitecd2fd113e89978ca750a81dea033a2e9f3347df
treec7151f36a2ea552f0f806750f88f3c73d0fabbd7
parente2c6d91eb8b1533753755f07803e47eceed263d0
s390/zcrypt: Make apfs a real unsigned int field

Slight rework on the apfs field: Instead of unsigned char[4]
make this a real 32 bit unsigned int field. With that done,
some assignments and some printouts can be simplified.
With that comes a slight move of the anonymous struct covering
the message type 86 header to dedupe some code lines.

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_error.h
drivers/s390/crypto/zcrypt_msgtype6.c
drivers/s390/crypto/zcrypt_msgtype6.h