From 084400f200e313aeb4592be27e42583ea057e81d Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Mon, 3 Aug 2026 09:01:28 +0300 Subject: [PATCH] drivers/mmcsd/mmcsd_sdio.c: Fix finfo print modifier Use PRIx32 to print uint32_t type argument to fix compilation error on 64 bit platforms. Signed-off-by: Jukka Laitinen --- drivers/mmcsd/mmcsd_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index f81412704d4..6c172e5f10f 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -1024,9 +1024,9 @@ static void mmcsd_decode_cid(FAR struct mmcsd_state_s *priv, uint32_t cid[4]) decoded.mdt = (cid[3] >> 8) & 0xff; decoded.crc = (cid[3] >> 1) & 0x7f; - finfo("mid: %02x cbx: %01x oid: %01x pnm: %s prv: %d psn: %08x mdt: %02x\ - crc: %02x\n", decoded.mid, decoded.cbx, decoded.oid, decoded.pnm, - decoded.prv, (unsigned long)decoded.psn, decoded.mdt, decoded.crc); + finfo("mid: %02x cbx: %01x oid: %01x pnm: %s prv: %d psn: %08" PRIx32 + " mdt: %02x crc: %02x\n", decoded.mid, decoded.cbx, decoded.oid, + decoded.pnm, decoded.prv, decoded.psn, decoded.mdt, decoded.crc); } #endif