]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: target: core: Fix complete_type use
authorMike Christie <michael.christie@oracle.com>
Sat, 7 Mar 2026 22:06:30 +0000 (16:06 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Mar 2026 01:32:01 +0000 (21:32 -0400)
commit3e70441fb508c8f3ad475f0d20e016913be60e87
treeff22a170087f56bbc4132fb4d36ee0895e2c8e51
parent0e124af675ebabddacfeb0958abd443265dddf13
scsi: target: core: Fix complete_type use

There were two copy and paste type of errors where I swapped 'complete'
with 'submit' names. Use the correct variables and definitions.

This problem was found by Dmitry Bogdanov and this patch builds on top of
his patch to fix a second instance that was found.

Fixes: 06933066d88a ("scsi: target: Add support for completing commands from backend context")
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
[mnc: Fixed second instance]
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://patch.msgid.link/20260307220630.131008-1-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_device.c
drivers/target/target_core_transport.c