RTEMS | grlib/pci: Use unsigned integer for interrupt number (!496)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jun 5 23:30:31 UTC 2025
Kinsey Moore started a new discussion on bsps/shared/grlib/pci/gr_rasta_tmtc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496#note_123171
> /* 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++) {
Please use `uint32_t` instead of `unsigned int` to ensure that the type is always of appropriate size.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496#note_123171
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/20250605/c054edbf/attachment-0001.htm>
More information about the bugs
mailing list