Re: [PATCH] IB/hfi1: Fix a typo

From: Randy Dunlap
Date: Mon Mar 22 2021 - 14:57:53 EST


On 3/21/21 11:29 PM, Bhaskar Chowdhury wrote:
>
> s/struture/structure/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
> ---
> drivers/infiniband/hw/hfi1/iowait.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/hfi1/iowait.h b/drivers/infiniband/hw/hfi1/iowait.h
> index d580aa17ae37..377e00a109c2 100644
> --- a/drivers/infiniband/hw/hfi1/iowait.h
> +++ b/drivers/infiniband/hw/hfi1/iowait.h
> @@ -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.

> */
> static inline struct sdma_txreq *iowait_get_txhead(struct iowait_work *wait)
> {
> --


--
~Randy