Issue #2993 has been reported by dcb.
----------------------------------------
Bug #2993: sys/dev/raid/mfi/mfi_tbolt.c:1159: bad expression ?
http://bugs.dragonflybsd.org/issues/2993
* Author: dcb
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
sys/dev/raid/mfi/mfi_tbolt.c:1159]: (warning) Logical disjunction always
evaluates to true: EXPR != 40 || EXPR != 42.
Source code is
if (cdb[0] != 0x28 || cdb[0] != 0x2A) {
Maybe better code
if (cdb[0] != 0x28 && cdb[0] != 0x2A) {
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://bugs.dragonflybsd.org/my/account