diff options
| author | James Smart <[email protected]> | 2019-12-18 15:58:07 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-12-21 13:42:42 -0500 |
| commit | c438d0628aa5cf9af57c7cd65794551622ea800d (patch) | |
| tree | 5cc46827e55ad4747760f8605dca3cfa76c951df /tools/perf/scripts/python | |
| 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/[email protected]
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions