2015-06-03 15:54:53

by Masanari Iida

[permalink] [raw]
Subject: [PATCH] [trivial] scsi:fcoe: Fix typo "a ethernet" in fcoe_transport.c

This patch fix some "a ethernet" in MODULE_DESCRIPTIONS in
fcoe_transport.c

Signed-off-by: Masanari Iida <[email protected]>
---
drivers/scsi/fcoe/fcoe_transport.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index bdc8989..d7597c0 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -58,7 +58,7 @@ MODULE_PARM_DESC(show, " Show attached FCoE transports");
module_param_call(create, fcoe_transport_create, NULL,
(void *)FIP_MODE_FABRIC, S_IWUSR);
__MODULE_PARM_TYPE(create, "string");
-MODULE_PARM_DESC(create, " Creates fcoe instance on a ethernet interface");
+MODULE_PARM_DESC(create, " Creates fcoe instance on an ethernet interface");

module_param_call(create_vn2vn, fcoe_transport_create, NULL,
(void *)FIP_MODE_VN2VN, S_IWUSR);
@@ -68,15 +68,15 @@ MODULE_PARM_DESC(create_vn2vn, " Creates a VN_node to VN_node FCoE instance "

module_param_call(destroy, fcoe_transport_destroy, NULL, NULL, S_IWUSR);
__MODULE_PARM_TYPE(destroy, "string");
-MODULE_PARM_DESC(destroy, " Destroys fcoe instance on a ethernet interface");
+MODULE_PARM_DESC(destroy, " Destroys fcoe instance on an ethernet interface");

module_param_call(enable, fcoe_transport_enable, NULL, NULL, S_IWUSR);
__MODULE_PARM_TYPE(enable, "string");
-MODULE_PARM_DESC(enable, " Enables fcoe on a ethernet interface.");
+MODULE_PARM_DESC(enable, " Enables fcoe on an ethernet interface.");

module_param_call(disable, fcoe_transport_disable, NULL, NULL, S_IWUSR);
__MODULE_PARM_TYPE(disable, "string");
-MODULE_PARM_DESC(disable, " Disables fcoe on a ethernet interface.");
+MODULE_PARM_DESC(disable, " Disables fcoe on an ethernet interface.");

/* notification function for packets from net device */
static struct notifier_block libfcoe_notifier = {
--
2.4.2.387.gf86f31a


2015-06-23 17:00:14

by Vasu Dev

[permalink] [raw]
Subject: Re: [Open-FCoE] [PATCH] [trivial] scsi:fcoe: Fix typo "a ethernet" in fcoe_transport.c

On Thu, 2015-06-04 at 00:54 +0900, Masanari Iida wrote:
> This patch fix some "a ethernet" in MODULE_DESCRIPTIONS in
> fcoe_transport.c
>
> Signed-off-by: Masanari Iida <[email protected]>
> ---
> drivers/scsi/fcoe/fcoe_transport.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
> index bdc8989..d7597c0 100644
> --- a/drivers/scsi/fcoe/fcoe_transport.c
> +++ b/drivers/scsi/fcoe/fcoe_transport.c
> @@ -58,7 +58,7 @@ MODULE_PARM_DESC(show, " Show attached FCoE transports");
> module_param_call(create, fcoe_transport_create, NULL,
> (void *)FIP_MODE_FABRIC, S_IWUSR);
> __MODULE_PARM_TYPE(create, "string");
> -MODULE_PARM_DESC(create, " Creates fcoe instance on a ethernet interface");
> +MODULE_PARM_DESC(create, " Creates fcoe instance on an ethernet interface");
>
> module_param_call(create_vn2vn, fcoe_transport_create, NULL,
> (void *)FIP_MODE_VN2VN, S_IWUSR);
> @@ -68,15 +68,15 @@ MODULE_PARM_DESC(create_vn2vn, " Creates a VN_node to VN_node FCoE instance "
>
> module_param_call(destroy, fcoe_transport_destroy, NULL, NULL, S_IWUSR);
> __MODULE_PARM_TYPE(destroy, "string");
> -MODULE_PARM_DESC(destroy, " Destroys fcoe instance on a ethernet interface");
> +MODULE_PARM_DESC(destroy, " Destroys fcoe instance on an ethernet interface");
>
> module_param_call(enable, fcoe_transport_enable, NULL, NULL, S_IWUSR);
> __MODULE_PARM_TYPE(enable, "string");
> -MODULE_PARM_DESC(enable, " Enables fcoe on a ethernet interface.");
> +MODULE_PARM_DESC(enable, " Enables fcoe on an ethernet interface.");
>
> module_param_call(disable, fcoe_transport_disable, NULL, NULL, S_IWUSR);
> __MODULE_PARM_TYPE(disable, "string");
> -MODULE_PARM_DESC(disable, " Disables fcoe on a ethernet interface.");
> +MODULE_PARM_DESC(disable, " Disables fcoe on an ethernet interface.");
>
> /* notification function for packets from net device */
> static struct notifier_block libfcoe_notifier = {

I don't this patch applied yet, Looks good.

Acked-by: Vasu Dev <[email protected]>