RTEMS | grlib/pci: Use unsigned integer for interrupt number (!496)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Fri Jun 6 08:27:18 UTC 2025
Matteo Concas commented on a discussion on bsps/shared/grlib/pci/gr_rasta_tmtc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496#note_123184
> /* printk("GR-RASTA-TMTC: IRQ 0x%x\n",status); */
>
> SPIN_LOCK(&priv->devlock, irqflags);
> - for(irq=0; irq<32; irq++) {
> + for(unsigned int irq=0; irq<32; irq++) {
Good catch, changed the type to `uint32_t`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496#note_123184
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250606/36ab8fa4/attachment.htm>
More information about the bugs
mailing list