diff options
author | James Smart <jsmart2021@gmail.com> | 2019-12-18 15:58:07 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-12-21 13:42:42 -0500 |
commit | c438d0628aa5cf9af57c7cd65794551622ea800d (patch) | |
tree | 5cc46827e55ad4747760f8605dca3cfa76c951df /mm/mempolicy.c | |
parent | 999fbbceb8312a764b318cf19510273291ec3575 (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 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions