Gedare Bloom started a new discussion on cpukit/libi2c/libi2c.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/821#note_136987

 >        else
 >          err = RTEMS_SUCCESSFUL;
 >  
 > -      LIBUNLOCK ();
 > +      rtems_mutex_unlock(&libmutex);
 >        return err ? -err : minor;
 >      }
 > +    rtems_mutex_unlock(&libmutex);

This unlock is inside the for loop, but there is not a lock inside the for 
loop. I think this is mismatched.

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