Bug 200984

Summary: sys/dev/bce/if_bce.c: 2 * bad if
Product: Base System Reporter: David Binderman <dcb314>
Component: miscAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Some People    
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   

Description David Binderman 2015-06-20 08:27:53 UTC
1.

sys/dev/bce/if_bce.c:11283]: (warning)
 Logical conjunction always evaluates to false: i < 807936 && i > 917503.

  if (i < 0xc5400 && i > 0xdffff)

2.

sys/dev/bce/if_bce.c:11403]: (warning)
 Logical conjunction always evaluates to false: i < 1594368 && i > 1703935.

     if (i < 0x185400 && i > 0x19ffff)
Comment 1 David Binderman 2018-07-05 19:58:53 UTC
Still broken three years later.