linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: megaraid: fix spelling mistake "maibox" -> "mailbox"
@ 2018-09-23 22:25 Colin King
  2018-09-26 11:19 ` Sumit Saxena
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-09-23 22:25 UTC (permalink / raw)
  To: Kashyap Desai, Sumit Saxena, Shivasharan S,
	James E . J . Bottomley, Martin K . Petersen, megaraidlinux.pdl,
	linux-scsi
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in warning message and comments

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/megaraid/megaraid_mbox.c | 4 ++--
 drivers/scsi/megaraid/megaraid_mbox.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
index 530358cdcb39..2013523605c5 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -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.
diff --git a/drivers/scsi/megaraid/megaraid_mbox.h b/drivers/scsi/megaraid/megaraid_mbox.h
index c1d86d961a92..e075aeb4012f 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.h
+++ b/drivers/scsi/megaraid/megaraid_mbox.h
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] scsi: megaraid: fix spelling mistake "maibox" -> "mailbox"
  2018-09-23 22:25 [PATCH] scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" Colin King
@ 2018-09-26 11:19 ` Sumit Saxena
  0 siblings, 0 replies; 2+ messages in thread
From: Sumit Saxena @ 2018-09-26 11:19 UTC (permalink / raw)
  To: Colin King, Kashyap Desai, Shivasharan Srikanteshwara,
	James E . J . Bottomley, Martin K . Petersen, PDL,MEGARAIDLINUX,
	linux-scsi
  Cc: kernel-janitors, linux-kernel

> -----Original Message-----
> From: Colin King [mailto:colin.king@canonical.com]
> Sent: Monday, September 24, 2018 3:56 AM
> To: Kashyap Desai <kashyap.desai@broadcom.com>; Sumit Saxena
> <sumit.saxena@broadcom.com>; Shivasharan S
> <shivasharan.srikanteshwara@broadcom.com>; James E . J . Bottomley
> <jejb@linux.vnet.ibm.com>; Martin K . Petersen
> <martin.petersen@oracle.com>; megaraidlinux.pdl@broadcom.com; linux-
> scsi@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH] scsi: megaraid: fix spelling mistake "maibox" ->
> "mailbox"
>
> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to spelling mistake in warning message and comments
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/scsi/megaraid/megaraid_mbox.c | 4 ++--
> drivers/scsi/megaraid/megaraid_mbox.h | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/scsi/megaraid/megaraid_mbox.c
> b/drivers/scsi/megaraid/megaraid_mbox.c
> index 530358cdcb39..2013523605c5 100644
> --- a/drivers/scsi/megaraid/megaraid_mbox.c
> +++ b/drivers/scsi/megaraid/megaraid_mbox.c
> @@ -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.
> diff --git a/drivers/scsi/megaraid/megaraid_mbox.h
> b/drivers/scsi/megaraid/megaraid_mbox.h
> index c1d86d961a92..e075aeb4012f 100644
> --- a/drivers/scsi/megaraid/megaraid_mbox.h
> +++ b/drivers/scsi/megaraid/megaraid_mbox.h
> @@ -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

Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>

> --
> 2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-26 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-23 22:25 [PATCH] scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" Colin King
2018-09-26 11:19 ` Sumit Saxena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).