Skip to contentSkip to conversation

scsi: core: Fix spelling in a source code comment

PATCH Applied Bart Van Assche 2 participants 3 messages Sep 29, 2021 – Oct 12, 2021 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: core: Fix spelling in a source code comment

The typo in this source code comment makes the comment confusing. Clear up the confusion by fixing the typo.

Cc Christoph Hellwig <[email protected]>
Fixes bc85dc500f9d ("scsi: remove scsi_end_request")
---
 drivers/scsi/scsi_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/scsi_lib.c +1 -1
index 572673873ddf..660ca6226f16 100644
@@ -949,7 +949,7 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes)
 
 	/*
 	 * If there had been no error, but we have leftover bytes in the
-	 * requeues just queue the command up again.
+	 * request just queue the command up again.
 	 */
 	if (likely(result == 0))
 		scsi_io_completion_reprep(cmd, q);
#1 lore raw

Bart,

Quoted 2 lines

The typo in this source code comment makes the comment confusing. Clear up the confusion by fixing the typo.

Applied to 5.16/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering