Skip to content

drivers/mmcsd/mmcsd_sdio.c: Fix finfo print modifier - #19604

Open
jlaitine wants to merge 1 commit into
apache:masterfrom
tiiuae:fix_finfo_modifier
Open

drivers/mmcsd/mmcsd_sdio.c: Fix finfo print modifier#19604
jlaitine wants to merge 1 commit into
apache:masterfrom
tiiuae:fix_finfo_modifier

Conversation

@jlaitine

@jlaitine jlaitine commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

A small compilation fix for 64-bit targets defining CONFIG_DEBUG_FS_INFO=y. The "decoded.psn" is uint32_t, not unsigned long, so use PRIx32 instead of cast.

Impact

Removes compilation error on platforms where "unsigned long" is not 32 bits wide. No functional change.

Testing

Tested on compiling with imx93-evk:nsh by adding debug info for FS.

Use PRIx32 to print uint32_t type argument to fix compilation error on
64 bit platforms.

Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
@github-actions github-actions Bot added Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

hifive1-revb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants