Gedare Bloom started a new discussion on cpukit/dev/can/sja1000/sja1000.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1183#note_148017 > + * @param rtems_can_chip Pointer to chip structure. > + * > + * @return None > + */ > +static inline void sja1000_process_interrupts( > + struct rtems_can_chip *chip > +) > +{ > + uint8_t isr; > + uint8_t sr; > + bool rx_dispatch; > + struct sja1000_internal *internal = chip->internal; > + struct sja1000_txb_info *txb_info = &internal->txb_info; > + struct rtems_can_queue_ends_dev *qends_dev = chip->qends_dev; > + struct rtems_can_queue_ends *qends = &qends_dev->base; > + while ( 1 ) { I think this could also be `do-while( isr != 0 )`. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1183#note_148017 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
