Skip to contentSkip to conversation

IB/hfi1: Fix a typo

PATCH Applied Bhaskar Chowdhury 3 participants 3 messages Mar 22, 2021 – Mar 26, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/hfi1: Fix a typo

s/struture/structure/

---
 drivers/infiniband/hw/hfi1/iowait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/iowait.h +1 -1
index d580aa17ae37..377e00a109c2 100644
@@ -321,7 +321,7 @@ static inline void iowait_drain_wakeup(struct iowait *wait)
 /**
  * iowait_get_txhead() - get packet off of iowait list
  *
- * @wait iowait_work struture
+ * @wait iowait_work structure
  */
 static inline struct sdma_txreq *iowait_get_txhead(struct iowait_work *wait)
 {

--
2.31.0

#1 lore raw
Quoted 13 lines · Bhaskar Chowdhury

s/struture/structure/

---
 drivers/infiniband/hw/hfi1/iowait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/iowait.h +0 -0
index d580aa17ae37..377e00a109c2 100644

drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_drain_wakeup(struct iowait *wait) · line 324

Quoted 5 lines
drivers/infiniband/hw/hfi1/iowait.h +1 -1
@@ -321,7 +321,7 @@ static inline void iowait_drain_wakeup(struct iowait *wait)
 /**
  * iowait_get_txhead() - get packet off of iowait list
  *
- * @wait iowait_work struture
+ * @wait iowait_work structure

Also use correct kernel-doc syntax:

* @wait: iowait_work structure

No sense in having to make multiple patches to the same line.

Quoted 4 lines
drivers/infiniband/hw/hfi1/iowait.h +0 -1
  */
 static inline struct sdma_txreq *iowait_get_txhead(struct iowait_work *wait)
 {
--
Signature · 1 line
~Randy