Re: [PATCH 02/17] drivers: infiniband: Fix trivial spelling

Dennis Dalessandro
2020-06-09T15:54:04Z

On 6/9/2020 8:45 AM, Kieran Bingham wrote:
> The word 'descriptor' is misspelled throughout the tree.
>
> Fix it up accordingly:
> decriptors -> descriptors
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> ---
> drivers/infiniband/hw/hfi1/iowait.h | 2 +-
> drivers/infiniband/hw/hfi1/verbs_txreq.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/infiniband/hw/hfi1/iowait.h b/drivers/infiniband/hw/hfi1/iowait.h
> index 07847cb72169..d580aa17ae37 100644
> --- a/drivers/infiniband/hw/hfi1/iowait.h
> +++ b/drivers/infiniband/hw/hfi1/iowait.h
> @@ -399,7 +399,7 @@ static inline void iowait_get_priority(struct iowait *w)
> * @wait_head: the wait queue
> *
> * This function is called to insert an iowait struct into a
> - * wait queue after a resource (eg, sdma decriptor or pio
> + * wait queue after a resource (eg, sdma descriptor or pio
> * buffer) is run out.
> */
> static inline void iowait_queue(bool pkts_sent, struct iowait *w,
> diff --git a/drivers/infiniband/hw/hfi1/verbs_txreq.h b/drivers/infiniband/hw/hfi1/verbs_txreq.h
> index bfa6e081cb56..d2d526c5a756 100644
> --- a/drivers/infiniband/hw/hfi1/verbs_txreq.h
> +++ b/drivers/infiniband/hw/hfi1/verbs_txreq.h
> @@ -91,7 +91,7 @@ static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev,
> tx->mr = NULL;
> tx->sde = priv->s_sde;
> tx->psc = priv->s_sendcontext;
> - /* so that we can test if the sdma decriptors are there */
> + /* so that we can test if the sdma descriptors are there */
> tx->txreq.num_desc = 0;
> /* Set the header type */
> tx->phdr.hdr.hdr_type = priv->hdr_type;
>

Thanks

Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>