Skip to contentSkip to conversation

scsi: qla2xxx: Fix spelling mistakes "allloc" -> "alloc"

PATCH Applied Colin King 2 participants 2 messages Jul 29, 2021 – Jul 31, 2021

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: qla2xxx: Fix spelling mistakes "allloc" -> "alloc"

From: Colin Ian King <[email protected]>

There are two spelling mistakes with the same triple l in alloc, one in a comment, the other in a ql_dbg debug message. Fix them.

---
 drivers/scsi/qla2xxx/qla_edif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/qla2xxx/qla_edif.c +2 -2
index ccbe0e1bfcbc..fde410989c03 100644
@@ -1886,7 +1886,7 @@ qla_edb_node_alloc(scsi_qla_host_t *vha, uint32_t ntype)
 	return node;
 }
 
-/* adds a already alllocated enode to the linked list */
+/* adds a already allocated enode to the linked list */
 static bool
 qla_edb_node_add(scsi_qla_host_t *vha, struct edb_node *ptr)
 {
@@ -2334,7 +2334,7 @@ void qla24xx_auth_els(scsi_qla_host_t *vha, void **pkt, struct rsp_que **rsp)
 	ptr = qla_enode_alloc(vha, N_PUREX);
 	if (!ptr) {
 		ql_dbg(ql_dbg_edif, vha, 0x09109,
-		    "WARNING: enode allloc failed for sid=%x\n",
+		    "WARNING: enode alloc failed for sid=%x\n",
 		    sid);
 		qla_els_reject_iocb(vha, (*rsp)->qpair, &a);
 		__qla_consume_iocb(vha, pkt, rsp);
Signature · 1 line
2.31.1
#1 lore raw

Colin,

Quoted 2 lines

There are two spelling mistakes with the same triple l in alloc, one in a comment, the other in a ql_dbg debug message. Fix them.

Applied to 5.15/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering