提交 32e4b65d 编写于 作者: H Heinrich Schuchardt 提交者: Priyanka Jain

crypto/fsl: correct printf() statement.

The sequence of arguments should match the format string.
For printing unsigned numbers we should use %u.
Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
上级 c5f89439
......@@ -102,8 +102,8 @@ int caam_page_alloc(uint8_t page_num, uint8_t partition_num)
/* if the page is not owned => problem */
if ((temp_reg & SMCSJR_PO) != PAGE_OWNED) {
printf("Allocation of page %d in partition %d failed 0x%X\n",
temp_reg, page_num, partition_num);
printf("Allocation of page %u in partition %u failed 0x%X\n",
page_num, partition_num, temp_reg);
return ERROR_IN_PAGE_ALLOC;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册