can: m_can: m_can_isr IR_ERR_ALL_30X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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?




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux