Skip to content

Commit a449999

Browse files
hfreudeAlexander Gordeev
authored andcommitted
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]>
1 parent da7c622 commit a449999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/crypto/zcrypt_ep11misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static int check_reply_pl(const u8 *pl, const char *func)
556556
pl += 2;
557557
ret = *((u32 *)pl);
558558
if (ret != 0) {
559-
ZCRYPT_DBF_ERR("%s return value 0x%04x != 0\n", func, ret);
559+
ZCRYPT_DBF_ERR("%s return value 0x%08x != 0\n", func, ret);
560560
return -EIO;
561561
}
562562

0 commit comments

Comments
 (0)