summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorRanjan Kumar <ranjan.kumar@broadcom.com>2025-04-11 14:14:18 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-12 04:44:58 +0300
commitcdd445258db9919e9dde497a6d5c3477ea7faf4d (patch)
tree937d5765b7d300c5ccb6ef832bf6dc1f31d76379 /drivers/fpga/tests/fpga-mgr-test.c
parent4c324085062919d4e21c69e5e78456dcec0052fe (diff)
downloadlinux-cdd445258db9919e9dde497a6d5c3477ea7faf4d.tar.xz
scsi: mpi3mr: Fix pending I/O counter
Commit 199510e33dea ("scsi: mpi3mr: Update consumer index of reply queues after every 100 replies") introduced a regression with the per-reply queue pending I/O counter which was erroneously decremented, leading to the counter going negative. Drop the incorrect atomic decrement for the pending I/O counter. Fixes: 199510e33dea ("scsi: mpi3mr: Update consumer index of reply queues after every 100 replies") Cc: stable@vger.kernel.org Co-developed-by: Sathya Prakash <sathya.prakash@broadcom.com> Signed-off-by: Sathya Prakash <sathya.prakash@broadcom.com> Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com> Link: https://lore.kernel.org/r/20250411111419.135485-2-ranjan.kumar@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions