summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPrashant Kamble <[email protected]>2026-05-18 11:38:44 +0530
committerNeil Armstrong <[email protected]>2026-05-20 09:44:37 +0200
commitd6eb327828a384c3bf325de05633a77f66688f53 (patch)
treef8c57dfff9b1d0f1e19e959ba5c2c0cfe497d8fc /src
parent49f8b8de4e6fa0aeb6c5eabec149b2537e94618b (diff)
nvme: fix command ID wraparound handling
nvme_get_cmd_id() returns 0 after cmdid reaches USHRT_MAX, but fails to reset cmdid itself. As a result, all subsequent calls keep returning 0 indefinitely. Reset cmdid when wraparound occurs so command IDs continue incrementing correctly. Signed-off-by: Prashant Kamble <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions