RTEMS | bsps/m68k/mcf5329/start/init5329.c: Address comparison of arrays (!598)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Jul 18 20:05:14 UTC 2025




Joel Sherrill commented on a discussion on bsps/m68k/mcf5329/start/init5329.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/598#note_126887

 >    /*
 >     * Move initialized data from ROM to RAM.
 >     */
 > -  if (_data_src_start != _data_dest_start) {
 > -    dbp = (uint8_t *) _data_dest_start;
 > -    sbp = (uint8_t *) _data_src_start;
 > -    i = _data_dest_end - _data_dest_start;

Good catch. How does it look now?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/598#note_126887
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/4ae47e5b/attachment.htm>


More information about the bugs mailing list