From: Harald Freudenberger Date: Mon, 25 Mar 2024 08:43:53 +0000 (+0100) Subject: s390/zcrypt: Fix wrong format string in debug feature printout X-Git-Tag: v6.9-rc7~21^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4499998c7f4dfa15ddba18b266e187cf29b7c76;p=thirdparty%2Flinux.git 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 Reviewed-by: Ingo Franzki Reviewed-by: Holger Dengler Signed-off-by: Alexander Gordeev --- diff --git a/drivers/s390/crypto/zcrypt_ep11misc.c b/drivers/s390/crypto/zcrypt_ep11misc.c index eb7f5489ccf95..a1b55fdf35104 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; }