Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 08:37:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200987] sys/dev/ixgbe/ixgbe.c:1058: bad if statement ?
Message-ID:  <bug-200987-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 200987
           Summary: sys/dev/ixgbe/ixgbe.c:1058: bad if statement ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

sys/dev/ixgbe/ixgbe.c:1058]: (warning)
 Logical disjunction always evaluates to true: EXPR != 160 || EXPR != 162.

   if ((i2c.dev_addr != 0xA0) || (i2c.dev_addr != 0xA2)){

Maybe

   if ((i2c.dev_addr != 0xA0) && (i2c.dev_addr != 0xA2)){

-- 
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-200987-8>