Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libplatsupport: use proper format specifier #180

Merged
merged 2 commits into from
Mar 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libplatsupport/src/plat/hifive/ltimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static pmem_region_t pmems[] = {
#define N_IRQS ARRAY_SIZE(irqs)
#define N_PMEMS ARRAY_SIZE(pmems)

size_t get_num_irqs(void *data)
size_t get_num_irqs(void *data)
{
return N_IRQS;
}
Expand Down Expand Up @@ -101,7 +101,7 @@ static int ltimer_handle_irq(void *data, ps_irq_t *irq)
pwm_handle_irq(&timers->pwm_ltimers[TIMEOUT_TIMER].pwm, irq->irq.number);
event = LTIMER_TIMEOUT_EVENT;
} else {
ZF_LOGE("Invalid IRQ number: %d received.\n", irq_number);
ZF_LOGE("Invalid IRQ number: %ld received.\n", irq_number);
}

if (timers->user_callback) {
Expand Down