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

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Jul 21 14:06:07 UTC 2025




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

 >  
 >    /* 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);

The update is still incorrect as `%ul` is not a format specifier, either. It looks like this should probably just be `%u`.

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


More information about the bugs mailing list