aboutsummaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorJames Smart2019-12-18 15:58:07 -0800
committerMartin K. Petersen2019-12-21 13:42:42 -0500
commitc438d0628aa5cf9af57c7cd65794551622ea800d (patch)
tree5cc46827e55ad4747760f8605dca3cfa76c951df /drivers/edac
parent999fbbceb8312a764b318cf19510273291ec3575 (diff)
scsi: lpfc: Fix improper flag check for IO type
Current driver code looks at iocb types and uses a "==" comparison on the flags to determine type. If another flag were set, it would disrupt the comparison. Fix by converting to a bitwise & operation. Link: https://lore.kernel.org/r/20191218235808.31922-10-jsmart2021@gmail.com Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions