Bug 200984 - sys/dev/bce/if_bce.c: 2 * bad if
Summary: sys/dev/bce/if_bce.c: 2 * bad if
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-20 08:27 UTC by David Binderman
Modified: 2018-07-05 19:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.