diff options
author | JK Kim <[email protected]> | 2021-06-17 15:02:17 +0900 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-06-17 15:51:18 +0200 |
commit | a0aac973a26d1ac814b9e131e209eb39472a67ce (patch) | |
tree | a8192b71109f3daa8b027a38e596c283eea0aa85 /scripts/gdb/linux/tasks.py | |
parent | 522af60cb2f8e3658bda1902fb7f200dcf888a5c (diff) |
nvme-pci: fix var. type for increasing cq_head
nvmeq->cq_head is compared with nvmeq->q_depth and changed the value
and cq_phase for handling the next cq db.
but, nvmeq->q_depth's type is u32 and max. value is 0x10000 when
CQP.MSQE is 0xffff and io_queue_depth is 0x10000.
current temp. variable for comparing with nvmeq->q_depth is overflowed
when previous nvmeq->cq_head is 0xffff.
in this case, nvmeq->cq_phase is not updated.
so, fix data type for temp. variable to u32.
Signed-off-by: JK Kim <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions