RTEMS | bsps/powerpc/gen5200/mscan/mscan.c: Fix format specifier warning (!600)

Kinsey Moore (@opticron) gitlab at rtems.org
Fri Jul 18 15:09:01 UTC 2025




Kinsey Moore started a new discussion on bsps/powerpc/gen5200/mscan/mscan.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/600#note_126836

 >  
 >    /* Set up interrupts */
 >    if (!BSP_install_rtems_irq_handler(&(mpc5200_mscan_irq_data[minor])))
 > -    rtems_panic("Can't attach MPC5x00 MSCAN interrupt handler %ld\n", minor);
 > +    rtems_panic("Can't attach MPC5x00 MSCAN interrupt handler %ud\n", minor);

This changes from %ld (long signed int) print format to %ud which is a non-long unsigned value with a "d" suffix. This needs to be fixed.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/600#note_126836
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/20250718/abe5b188/attachment.htm>


More information about the bugs mailing list