RTEMS | rtems-fdt: add test, refactor, and fix bugs (!1257)

Chris Johns (@chris) gitlab at rtems.org
Thu May 28 01:15:41 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1257 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion on cpukit/libmisc/rtems-fdt/rtems-fdt.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1257#note_151137

 >    }
 >  
 > +  fdt = rtems_fdt_lock();

Maybe the call `rtems_fdt_valid_handle()` need to be moved to `rtems_fdt_valid_handle_unprotected()` so the check can be made with the lock held.

With this change what happens calls to unload the same handle happen at the same time?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1257
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/20260528/d40249b3/attachment.htm>


More information about the bugs mailing list