Re: [PATCH] liquidio: Fix a typo

From: Randy Dunlap
Date: Mon Mar 22 2021 - 14:58:56 EST


On 3/21/21 11:31 PM, Bhaskar Chowdhury wrote:
>
> s/struture/structure/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
> ---
> drivers/net/ethernet/cavium/liquidio/octeon_device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/cavium/liquidio/octeon_device.h b/drivers/net/ethernet/cavium/liquidio/octeon_device.h
> index fb380b4f3e02..b402facfdc04 100644
> --- a/drivers/net/ethernet/cavium/liquidio/octeon_device.h
> +++ b/drivers/net/ethernet/cavium/liquidio/octeon_device.h
> @@ -880,7 +880,7 @@ void octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable);
> void *oct_get_config_info(struct octeon_device *oct, u16 card_type);
>
> /** Gets the octeon device configuration
> - * @return - pointer to the octeon configuration struture
> + * @return - pointer to the octeon configuration structure

No, that's not proper kernel-doc syntax.

> */
> struct octeon_config *octeon_get_conf(struct octeon_device *oct);
>
> --


--
~Randy