Patchwork [Open-FCoE,1/2] fix a minor typo in fcoeadm_display.c, fcoemon.h and fcping.c

login
register
mail settings
Submitter Milan P. Gandhi
Date July 7, 2016, 10:07 a.m.
Message ID <4f88a882-720b-ad24-6c9a-516b2ea28c3d@redhat.com>
Download mbox | patch
Permalink /patch/330/
State New
Headers show

Comments

Milan P. Gandhi - July 7, 2016, 10:07 a.m.
Hello,

This patch fixes minor typo in fcoeadm_display.c, fcoemon.h and
fcping.c

Signed-off-by: Milan P. Gandhi <mgandhi@redhat.com>
---
Johannes Thumshirn - July 7, 2016, 10:09 a.m.
On Thu, Jul 07, 2016 at 03:37:02PM +0530, Milan P. Gandhi wrote:
> Hello,
> 
> This patch fixes minor typo in fcoeadm_display.c, fcoemon.h and
> fcping.c
> 
> Signed-off-by: Milan P. Gandhi <mgandhi@redhat.com>

Looks good, thanks Milan.

I currently don't have access to the git repository though, so it'll take some
time until I can apply the patch.

Please ping me in ~2 Weeks time if I haven't got around to doing so.

Byte,
	Johannes
Milan P. Gandhi - July 7, 2016, 10:13 a.m.
On 07/07/2016 03:39 PM, Johannes Thumshirn wrote:
> On Thu, Jul 07, 2016 at 03:37:02PM +0530, Milan P. Gandhi wrote:
>> Hello,
>>
>> This patch fixes minor typo in fcoeadm_display.c, fcoemon.h and
>> fcping.c
>>
>> Signed-off-by: Milan P. Gandhi <mgandhi@redhat.com>
> 
> Looks good, thanks Milan.
> 
> I currently don't have access to the git repository though, so it'll take some
> time until I can apply the patch.
> 
> Please ping me in ~2 Weeks time if I haven't got around to doing so.
> 
> Byte,
> 	Johannes
> 

Thanks Johannes.

Kind regards,

Milan.

Patch

diff --git a/fcoeadm_display.c b/fcoeadm_display.c
index 7b95aa4..096fe50 100644
--- a/fcoeadm_display.c
+++ b/fcoeadm_display.c
@@ -132,7 +132,7 @@  static void show_port_info(struct port_attributes *lp_info)
 	printf("        Port Name:         %s\n",
 		lp_info->port_name);
 
-	printf("        FabricName:        %s\n",
+	printf("        Fabric Name:        %s\n",
 		lp_info->fabric_name);
 
 	printf("        Speed:             %s\n",
diff --git a/fcoemon.h b/fcoemon.h
index 0e0e6a2..86858ae 100644
--- a/fcoemon.h
+++ b/fcoemon.h
@@ -68,7 +68,7 @@  enum fcm_dcbd_state {
    FCD_GET_PFC_CONFIG,  /* getting PFC configuration */
    FCD_GET_APP_CONFIG,  /* getting APP configuration */
    FCD_GET_PFC_OPER,    /* getting PFC operational mode */
-   FCD_GET_APP_OPER,    /* getting operational mode */
+   FCD_GET_APP_OPER,    /* getting AAP operational mode */
    FCD_GET_PEER,        /* getting peer configuration */
    FCD_DONE,            /* DCB exchanges complete */
    FCD_ERROR,           /* DCB error or port unknown by DCB */
diff --git a/fcping.c b/fcping.c
index a992d01..bf2bc0f 100644
--- a/fcping.c
+++ b/fcping.c
@@ -98,7 +98,7 @@  static void fp_usage(void)
 		cmdname, FP_LEN_MAX);
 
 	fprintf(stderr, "\nNote that the default maximum FC payload allowed "
-		"is %lu bytes and the default maxmaxium fcping payload, "
+		"is %lu bytes and the default maximum fcping payload, "
 		"i.e., the FC ELS ECHO data, allowed is %lu "
 		"bytes.\n",
 		FC_MAX_PAYLOAD, FP_LEN_MAX);