Pavel Pisa commented on a discussion on cpukit/include/dev/can/can-queue.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108468

 > + *
 > + */
 > +static inline void canque_activate_edge(
 > +  struct canque_ends_t *inends,
 > +  struct canque_edge_t *qedge
 > +)
 > +{
 > +  struct canque_ends_t *outends;
 > +
 > +  if ( qedge->edge_prio >= RTEMS_CAN_QUEUE_PRIO_NR ) {
 > +    qedge->edge_prio = RTEMS_CAN_QUEUE_PRIO_NR - 1;
 > +  }
 > +
 > +  if ( ( outends = qedge->outends ) != NULL ) {
 > +    rtems_mutex_lock( &outends->ends_lock );
 > +    rtems_mutex_lock( &qedge->fifo.fifo_lock );

I mark this for further check. I am not sure from the first read.

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