[RTEMS Project] #2370: rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1560: possible bad if ?

RTEMS trac trac at rtems.org
Tue Jul 14 20:14:21 UTC 2015


#2370: rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1560:
possible bad if ?
---------------------+--------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.11.1
Component:  General  |    Version:  4.12
 Severity:  normal   |   Keywords:
---------------------+--------------------
 [rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1560]:
 (style) Expression '(X & 0xe) == 0x1' is always false.

 Source code is

     /* XXX Hardware bug?? */
      if ((reg & 0xe) == 1) {

--
Ticket URL: <http://devel.rtems.org/ticket/2370>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list