Actions
Bug #2993
closedsys/dev/raid/mfi/mfi_tbolt.c:1159: bad expression ?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/28/2017
Due date:
% Done:
0%
Estimated time:
Description
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) {
Actions