All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] octeontx2-af: Few mundane typos fixed
@ 2021-03-23  9:43 Bhaskar Chowdhury
  2021-03-23 17:48 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-23  9:43 UTC (permalink / raw)
  To: sgoutham, lcherian, gakula, jerinj, hkelam, sbhatta, davem, kuba,
	netdev, linux-kernel
  Cc: rdunlap, Bhaskar Chowdhury

s/preceeds/precedes/  .....two different places
s/rsponse/response/
s/cetain/certain/
s/precison/precision/

Fix a sentence construction as per suggestion.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 Changes from V1:
  Bad sentence construction missed my eyes , correced by following
  Randy's suggestion.

 drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
index ea456099b33c..8a6227287e34 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
+++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
@@ -74,13 +74,13 @@ struct otx2_mbox {
 	struct otx2_mbox_dev *dev;
 };

-/* Header which preceeds all mbox messages */
+/* Header which precedes all mbox messages */
 struct mbox_hdr {
 	u64 msg_size;	/* Total msgs size embedded */
 	u16  num_msgs;   /* No of msgs embedded */
 };

-/* Header which preceeds every msg and is also part of it */
+/* Header which precedes every msg and is also part of it */
 struct mbox_msghdr {
 	u16 pcifunc;     /* Who's sending this msg */
 	u16 id;          /* Mbox message ID */
@@ -277,8 +277,8 @@ struct msg_req {
 	struct mbox_msghdr hdr;
 };

-/* Generic rsponse msg used a ack or response for those mbox
- * messages which doesn't have a specific rsp msg format.
+/* Generic response msg used an ack or response for those mbox
+ * messages which don't have a specific rsp msg format.
  */
 struct msg_rsp {
 	struct mbox_msghdr hdr;
@@ -299,7 +299,7 @@ struct ready_msg_rsp {

 /* Structure for requesting resource provisioning.
  * 'modify' flag to be used when either requesting more
- * or to detach partial of a cetain resource type.
+ * or to detach partial of a certain resource type.
  * Rest of the fields specify how many of what type to
  * be attached.
  * To request LFs from two blocks of same type this mailbox
@@ -489,7 +489,7 @@ struct cgx_set_link_mode_rsp {
 };

 #define RVU_LMAC_FEAT_FC		BIT_ULL(0) /* pause frames */
-#define RVU_LMAC_FEAT_PTP		BIT_ULL(1) /* precison time protocol */
+#define RVU_LMAC_FEAT_PTP		BIT_ULL(1) /* precision time protocol */
 #define RVU_MAC_VERSION			BIT_ULL(2)
 #define RVU_MAC_CGX			BIT_ULL(3)
 #define RVU_MAC_RPM			BIT_ULL(4)
--
2.31.0


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

* Re: [PATCH V2] octeontx2-af: Few mundane typos fixed
  2021-03-23  9:43 [PATCH V2] octeontx2-af: Few mundane typos fixed Bhaskar Chowdhury
@ 2021-03-23 17:48 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-23 17:48 UTC (permalink / raw)
  To: Bhaskar Chowdhury, sgoutham, lcherian, gakula, jerinj, hkelam,
	sbhatta, davem, kuba, netdev, linux-kernel

On 3/23/21 2:43 AM, Bhaskar Chowdhury wrote:
> s/preceeds/precedes/  .....two different places
> s/rsponse/response/
> s/cetain/certain/
> s/precison/precision/
> 
> Fix a sentence construction as per suggestion.
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  Changes from V1:
>   Bad sentence construction missed my eyes , correced by following
>   Randy's suggestion.
> 
>  drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> index ea456099b33c..8a6227287e34 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> @@ -74,13 +74,13 @@ struct otx2_mbox {
>  	struct otx2_mbox_dev *dev;
>  };
> 
> -/* Header which preceeds all mbox messages */
> +/* Header which precedes all mbox messages */
>  struct mbox_hdr {
>  	u64 msg_size;	/* Total msgs size embedded */
>  	u16  num_msgs;   /* No of msgs embedded */
>  };
> 
> -/* Header which preceeds every msg and is also part of it */
> +/* Header which precedes every msg and is also part of it */
>  struct mbox_msghdr {
>  	u16 pcifunc;     /* Who's sending this msg */
>  	u16 id;          /* Mbox message ID */
> @@ -277,8 +277,8 @@ struct msg_req {
>  	struct mbox_msghdr hdr;
>  };
> 
> -/* Generic rsponse msg used a ack or response for those mbox
> - * messages which doesn't have a specific rsp msg format.
> +/* Generic response msg used an ack or response for those mbox
> + * messages which don't have a specific rsp msg format.
>   */
>  struct msg_rsp {
>  	struct mbox_msghdr hdr;
> @@ -299,7 +299,7 @@ struct ready_msg_rsp {
> 
>  /* Structure for requesting resource provisioning.
>   * 'modify' flag to be used when either requesting more
> - * or to detach partial of a cetain resource type.
> + * or to detach partial of a certain resource type.
>   * Rest of the fields specify how many of what type to
>   * be attached.
>   * To request LFs from two blocks of same type this mailbox
> @@ -489,7 +489,7 @@ struct cgx_set_link_mode_rsp {
>  };
> 
>  #define RVU_LMAC_FEAT_FC		BIT_ULL(0) /* pause frames */
> -#define RVU_LMAC_FEAT_PTP		BIT_ULL(1) /* precison time protocol */
> +#define RVU_LMAC_FEAT_PTP		BIT_ULL(1) /* precision time protocol */
>  #define RVU_MAC_VERSION			BIT_ULL(2)
>  #define RVU_MAC_CGX			BIT_ULL(3)
>  #define RVU_MAC_RPM			BIT_ULL(4)
> --


-- 
~Randy


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

end of thread, other threads:[~2021-03-23 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  9:43 [PATCH V2] octeontx2-af: Few mundane typos fixed Bhaskar Chowdhury
2021-03-23 17:48 ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.