Fix chip/s32k3xx_qspi.c:925:44: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-19 12:48:12 +08:00 committed by Petro Karashchenko
parent d8e53d7b4f
commit d3e282e561
1 changed files with 2 additions and 1 deletions

View File

@ -926,7 +926,8 @@ static int qspi_transmit_blocking(struct s32k3xx_qspidev_s *priv,
regval |= QSPI_MCR_CLR_TXF;
putreg32(regval, S32K3XX_QSPI_MCR);
spiinfo("Transmit: %lu size: %lu\n", meminfo->addr, meminfo->buflen);
spiinfo("Transmit: %" PRIu32 " size: %" PRIu32 "\n",
meminfo->addr, meminfo->buflen);
for (count = 0U; count < write_cycle; count++)
{