Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 16:26:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202296] usr/src/sys/dev/qlxgb/qla_hw.c:800: bad if tests ?
Message-ID:  <bug-202296-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202296

            Bug ID: 202296
           Summary: usr/src/sys/dev/qlxgb/qla_hw.c:800: bad if tests ?
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

[usr/src/sys/dev/qlxgb/qla_hw.c:800]: (warning) Logical disjunction always
evaluates to true: EXPR != 8 || EXPR != 10.

Source code is

           if ((*tcp_opt != 0x01) || (*(tcp_opt + 1) != 0x01) ||
                (*(tcp_opt + 2) != 0x08) || (*(tcp_opt + 2) != 10)) {

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202296-8>