aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Freudenberger <[email protected]>2024-03-25 09:43:53 +0100
committerAlexander Gordeev <[email protected]>2024-05-01 11:52:54 +0200
commita4499998c7f4dfa15ddba18b266e187cf29b7c76 (patch)
tree7e42ef8fd8675725e7bb06a94a0c82fba77186f2
parentda7c622cddd4fe36be69ca61e8c42e43cde94784 (diff)
s390/zcrypt: Fix wrong format string in debug feature printout
Fix wrong format string debug feature: %04x was used to print out a 32 bit value. - changed to %08x. Signed-off-by: Harald Freudenberger <[email protected]> Reviewed-by: Ingo Franzki <[email protected]> Reviewed-by: Holger Dengler <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
-rw-r--r--drivers/s390/crypto/zcrypt_ep11misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/zcrypt_ep11misc.c b/drivers/s390/crypto/zcrypt_ep11misc.c
index eb7f5489ccf9..a1b55fdf3510 100644
--- a/drivers/s390/crypto/zcrypt_ep11misc.c
+++ b/drivers/s390/crypto/zcrypt_ep11misc.c
@@ -556,7 +556,7 @@ static int check_reply_pl(const u8 *pl, const char *func)
pl += 2;
ret = *((u32 *)pl);
if (ret != 0) {
- ZCRYPT_DBF_ERR("%s return value 0x%04x != 0\n", func, ret);
+ ZCRYPT_DBF_ERR("%s return value 0x%08x != 0\n", func, ret);
return -EIO;
}