Commit 0dc63bbe authored by Kieran Bingham's avatar Kieran Bingham Committed by Jason Gunthorpe

RDMA/hfi1: Fix trivial mis-spelling of 'descriptor'

The word 'descriptor' is misspelled throughout the tree.

Fix it up accordingly:
    decriptors -> descriptors

Link: https://lore.kernel.org/r/20200609124610.3445662-3-kieran.bingham+renesas@ideasonboard.com
Link: https://lore.kernel.org/r/20200609124610.3445662-12-kieran.bingham+renesas@ideasonboard.comSigned-off-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 4f5747cf
...@@ -399,7 +399,7 @@ static inline void iowait_get_priority(struct iowait *w) ...@@ -399,7 +399,7 @@ static inline void iowait_get_priority(struct iowait *w)
* @wait_head: the wait queue * @wait_head: the wait queue
* *
* This function is called to insert an iowait struct into a * 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. * buffer) is run out.
*/ */
static inline void iowait_queue(bool pkts_sent, struct iowait *w, static inline void iowait_queue(bool pkts_sent, struct iowait *w,
......
...@@ -364,7 +364,7 @@ static struct ipoib_txreq *hfi1_ipoib_send_dma_common(struct net_device *dev, ...@@ -364,7 +364,7 @@ static struct ipoib_txreq *hfi1_ipoib_send_dma_common(struct net_device *dev,
if (unlikely(!tx)) if (unlikely(!tx))
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
/* 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; tx->txreq.num_desc = 0;
tx->priv = priv; tx->priv = priv;
tx->txq = txp->txq; tx->txq = txp->txq;
......
...@@ -91,7 +91,7 @@ static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev, ...@@ -91,7 +91,7 @@ static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev,
tx->mr = NULL; tx->mr = NULL;
tx->sde = priv->s_sde; tx->sde = priv->s_sde;
tx->psc = priv->s_sendcontext; 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; tx->txreq.num_desc = 0;
/* Set the header type */ /* Set the header type */
tx->phdr.hdr.hdr_type = priv->hdr_type; tx->phdr.hdr.hdr_type = priv->hdr_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment