In m_can_isr, in rx handling the IR_ERR_ALL_30X is used without checking cdev->version > 30
if ((ir & IR_RF0N) || (ir & IR_ERR_ALL_30X)) {} May be it is better to use IR_ERR_ALL_31X as mask for m_can_ver>30?
In m_can_isr, in rx handling the IR_ERR_ALL_30X is used without checking cdev->version > 30
if ((ir & IR_RF0N) || (ir & IR_ERR_ALL_30X)) {} May be it is better to use IR_ERR_ALL_31X as mask for m_can_ver>30?