Gedare Bloom commented on a discussion on cpukit/libmisc/rtems-fdt/rtems-fdt.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1257#note_151182

 >  {
 >    rtems_fdt_data *fdt;
 >  
 > -  fdt = rtems_fdt_lock();
 > -
 >    if ( !rtems_fdt_valid_handle( handle ) ) {
 > -    rtems_fdt_unlock( fdt );
 >      return -RTEMS_FDT_ERR_INVALID_HANDLE;
 >    }
 >  
 > +  fdt = rtems_fdt_lock();

Good catch. I made the change as suggested.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1257#note_151182
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

Reply via email to