Skip to content

Commit

Permalink
drivers: scmi_msg: fix size_t trace format
Browse files Browse the repository at this point in the history
Fix format specifier for size_t type argument.

Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Jan 16, 2024
1 parent 218a163 commit 4d758c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/drivers/scmi-msg/smt.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void scmi_entry_smt(unsigned int channel_id, uint32_t *payload_buf)
sizeof(smt_hdr->message_header);

if (in_payload_size > SCMI_SEC_PAYLOAD_SIZE) {
DMSG("SCMI payload too big %u", in_payload_size);
DMSG("SCMI payload too big %zu", in_payload_size);
goto out;
}

Expand Down

0 comments on commit 4d758c6

Please sign in to comment.