mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
fix(st-fmc): fix type in message
As page is unsigned, we should use %u and not %d. Find with -Wformat-signedness. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7205971ee5e83163e4fe47d33bb9e90832b59ae0
This commit is contained in:
parent
6e86b46249
commit
afcdc9d8d7
1 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2019-2021, STMicroelectronics - All Rights Reserved
|
||||
* Copyright (c) 2019-2022, STMicroelectronics - All Rights Reserved
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
||||
*/
|
||||
|
@ -9,10 +9,6 @@
|
|||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <libfdt.h>
|
||||
|
||||
#include <platform_def.h>
|
||||
|
||||
#include <common/debug.h>
|
||||
#include <drivers/clk.h>
|
||||
#include <drivers/delay_timer.h>
|
||||
|
@ -22,6 +18,9 @@
|
|||
#include <drivers/st/stm32mp_reset.h>
|
||||
#include <lib/mmio.h>
|
||||
#include <lib/utils_def.h>
|
||||
#include <libfdt.h>
|
||||
|
||||
#include <platform_def.h>
|
||||
|
||||
/* Timeout for device interface reset */
|
||||
#define TIMEOUT_US_1_MS 1000U
|
||||
|
@ -516,7 +515,7 @@ static int stm32_fmc2_read_page(struct nand_device *nand,
|
|||
unsigned int s;
|
||||
int ret;
|
||||
|
||||
VERBOSE(">%s page %i buffer %lx\n", __func__, page, buffer);
|
||||
VERBOSE(">%s page %u buffer %lx\n", __func__, page, buffer);
|
||||
|
||||
ret = nand_read_page_cmd(page, 0U, 0U, 0U);
|
||||
if (ret != 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue