diff options
author | James Smart <jsmart2021@gmail.com> | 2017-09-30 03:34:46 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-03 05:46:42 +0300 |
commit | 29bfd55a9c8b8e70c3ecbc5a378cb6c2fc98dc37 (patch) | |
tree | 147d32a145b2cb7348eb8e12a7b7386b44e328bc /tools/perf/scripts/python/syscall-counts.py | |
parent | 1abcb3718b082d359647ab67197f3ad3b419f274 (diff) | |
download | linux-29bfd55a9c8b8e70c3ecbc5a378cb6c2fc98dc37.tar.xz |
scsi: lpfc: correct nvme sg segment count check
The internal cfg flag is actually smaller, by 1 (for a partial page
sge), than the sg list maintained by the driver. Thus the check on sg
segments errored out when it shouldn't have
Ensure the check is +1
Note: having a value that is less than what it really is is bogus.
Correcting it now would be a significant rework. Add this item to the
list to be refactored in the merge with efct.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions