Fix Error: chip/stm32_qencoder.c:989:46: 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-20 14:00:51 +08:00 committed by archer
parent 7bda8747b2
commit 6386596731

View File

@ -986,7 +986,8 @@ static int stm32_shutdown(struct qe_lowerhalf_s *lower)
putreg32(regval, regaddr); putreg32(regval, regaddr);
leave_critical_section(flags); leave_critical_section(flags);
sninfo("regaddr: %08lx resetbit: %08lx\n", regaddr, resetbit); sninfo("regaddr: %08" PRIx32 " resetbit: %08" PRIx32 "\n",
regaddr, resetbit);
stm32_dumpregs(priv, "After stop"); stm32_dumpregs(priv, "After stop");
/* Disable clocking to the timer */ /* Disable clocking to the timer */