Skip to contentSkip to conversation

scsi: megaraid: fix spelling mistake "maibox" -> "mailbox"

PATCH In review Colin King 2 participants 2 messages Sep 23, 2018 – Sep 26, 2018

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: megaraid: fix spelling mistake "maibox" -> "mailbox"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in warning message and comments

---
 drivers/scsi/megaraid/megaraid_mbox.c | 4 ++--
 drivers/scsi/megaraid/megaraid_mbox.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/megaraid/megaraid_mbox.c +2 -2
index 530358cdcb39..2013523605c5 100644
@@ -484,7 +484,7 @@ megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
 	// Start the mailbox based controller
 	if (megaraid_init_mbox(adapter) != 0) {
 		con_log(CL_ANN, (KERN_WARNING
-			"megaraid: maibox adapter did not initialize\n"));
+			"megaraid: mailbox adapter did not initialize\n"));
 
 		goto out_free_adapter;
 	}
@@ -950,7 +950,7 @@ megaraid_fini_mbox(adapter_t *adapter)
  * megaraid_alloc_cmd_packets - allocate shared mailbox
  * @adapter		: soft state of the raid controller
  *
- * Allocate and align the shared mailbox. This maibox is used to issue
+ * Allocate and align the shared mailbox. This mailbox is used to issue
  * all the commands. For IO based controllers, the mailbox is also registered
  * with the FW. Allocate memory for all commands as well.
  * This is our big allocator.
drivers/scsi/megaraid/megaraid_mbox.h +1 -1
index c1d86d961a92..e075aeb4012f 100644
@@ -117,7 +117,7 @@
  * @raw_mbox		: raw mailbox pointer
  * @mbox		: mailbox
  * @mbox64		: extended mailbox
- * @mbox_dma_h		: maibox dma address
+ * @mbox_dma_h		: mailbox dma address
  * @sgl64		: 64-bit scatter-gather list
  * @sgl32		: 32-bit scatter-gather list
  * @sgl_dma_h		: dma handle for the scatter-gather list
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 54 lines

-----Original Message-----
From: Colin King [mailto:[email protected]]
Sent: Monday, September 24, 2018 3:56 AM
To: Kashyap Desai <[email protected]>; Sumit Saxena <[email protected]>; Shivasharan S <[email protected]>; James E . J . Bottomley <[email protected]>; Martin K . Petersen <[email protected]>; [email protected]; linux- [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH] scsi: megaraid: fix spelling mistake "maibox" -> "mailbox"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in warning message and comments

---
 drivers/scsi/megaraid/megaraid_mbox.c | 4 ++--
drivers/scsi/megaraid/megaraid_mbox.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/megaraid/megaraid_mbox.c +1 -1
index 530358cdcb39..2013523605c5 100644
@@ -484,7 +484,7 @@ megaraid_probe_one(struct pci_dev *pdev, const
 struct pci_device_id *id)
 	// Start the mailbox based controller
 	if (megaraid_init_mbox(adapter) != 0) {
 		con_log(CL_ANN, (KERN_WARNING
-			"megaraid: maibox adapter did not initialize\n"));
+			"megaraid: mailbox adapter did not initialize\n"));
 
 		goto out_free_adapter;
drivers/scsi/megaraid/megaraid_mbox.c +1 -1
 	}
@@ -950,7 +950,7 @@ megaraid_fini_mbox(adapter_t *adapter)
  * megaraid_alloc_cmd_packets - allocate shared mailbox
  * @adapter		: soft state of the raid controller
  *
- * Allocate and align the shared mailbox. This maibox is used to issue
+ * Allocate and align the shared mailbox. This mailbox is used to issue
  * all the commands. For IO based controllers, the mailbox is also

registered
* with the FW. Allocate memory for all commands as well.
* This is our big allocator.

drivers/scsi/megaraid/megaraid_mbox.h +0 -0
index c1d86d961a92..e075aeb4012f 100644

drivers/scsi/megaraid/megaraid_mbox.h line 123

Quoted 8 lines
drivers/scsi/megaraid/megaraid_mbox.h +1 -1
@@ -117,7 +117,7 @@
  * @raw_mbox		: raw mailbox pointer
  * @mbox		: mailbox
  * @mbox64		: extended mailbox
- * @mbox_dma_h		: maibox dma address
+ * @mbox_dma_h		: mailbox dma address
  * @sgl64		: 64-bit scatter-gather list
  * @sgl32		: 32-bit scatter-gather list
  * @sgl_dma_h		: dma handle for the scatter-gather list
Quoted 2 lines

--
2.17.1