Bug 201283

Summary: sys/dev/bxe/bxe_elink.c:14583: bad expression
Product: Base System Reporter: David Binderman <dcb314>
Component: miscAssignee: David C Somayajulu <davidcs>
Status: Closed FIXED    
Severity: Affects Only Me CC: markj, witallwang
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   

Description David Binderman 2015-07-02 15:56:03 UTC
sys/dev/bxe/bxe_elink.c:14583]: (style) Expression '(X & 0xe0
) == 0x2' is always false.

      ((next_page & 0xe0) == 0x2))));
Comment 1 Wentao Wang 2018-03-08 05:37:14 UTC
Has been fixed in change cd53b03d2ca116be4d88572bd5c1f2602f71fab0 		25-Feb-2016 by davidcs <davidcs@FreeBSD.org>

to 
    ((next_page & 0xe0) == 0x20))));
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2018-03-08 15:49:25 UTC
Fixed in r296071 and MFCed to stable/10 and 11.