RTEMS | m68k/uC5282/bspstart.c: Cleanup of some bsp start code & GCC Warning Fixes (!474)
Jeremy Lorelli (@jjl77)
gitlab at rtems.org
Thu Jun 5 23:38:23 UTC 2025
Jeremy Lorelli commented on a discussion on bsps/m68k/uC5282/start/bspstart.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/474#note_123178
> - || ((char *)nfp >= RamSize)
> - || ((char *)(nfp[1]) >= RamSize))
> - break;
> - printk("FP:%p -> %p PC:%x\n", fp, nfp, nfp[1]);
> - fp = nfp;
> - }
> + fp = &sf->fp;
> + for(;;) {
> + uint32_t *nfp = (uint32_t *)*fp;
> + if ((nfp <= fp)
> + || ((char *)nfp >= RamSize)
> + || ((char *)(nfp[1]) >= RamSize))
> + break;
> + printk("FP:%p -> %p PC:%x\n", fp, nfp, nfp[1]);
> + fp = nfp;
> + }
Those are spaces. Do you want me to convert the rest of the file to spaces too? There are a few lines later down that are using tabs.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/474#note_123178
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/15287c90/attachment-0001.htm>
More information about the bugs
mailing list