Joel Sherrill created a merge request:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/465
Project:Branches: joel/rtems:uC5282-fix-printf-specifier to
rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
bsps/m68k/uC5282/start/bspstart.c: Correct printk() specifier
printk() specifier was for unsigned long but the number was just an
unsigned int.
481 | "\nTOO MANY FPGA INTERRUPTS (LAST WAS 0x%lx) -- "
| ~~^
| |
| long unsigned int
| %x
482 | "DISABLING ALL FPGA INTERRUPTS.\n",
483 | v & 0x3f
| ~~~~~~~~
| |
| rtems_vector_number {aka unsigned int}
../../../bsps/m68k/uC5282/start/bspstart.c:496:46: warning: format '%lx'
expects argument of type 'long unsigned int', but argument 2 has type
'rtems_vector_number' {aka 'unsigned int'} [-Wformat=]
496 | printk("\nSPURIOUS FPGA INTERRUPT (0x%lx).\n", v & 0x3f);
| ~~^ ~~~~~~~~
| | |
| |
rtems_vector_number {aka unsigned int}
| long unsigned int
| %x
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/465
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs