[PATCH] liquidio: Fix a typo

Subsystems: cavium liquidio network driver, networking drivers, the rest

STALE1963d

2 messages, 2 authors, 2021-03-22 · open the first message on its own page

[PATCH] liquidio: Fix a typo

From: Bhaskar Chowdhury <hidden>
Date: 2021-03-22 06:32:12

s/struture/structure/

Signed-off-by: Bhaskar Chowdhury <redacted>
---
 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
  */
 struct octeon_config *octeon_get_conf(struct octeon_device *oct);

--
2.31.0

Re: [PATCH] liquidio: Fix a typo

From: Randy Dunlap <hidden>
Date: 2021-03-22 18:58:56

On 3/21/21 11:31 PM, Bhaskar Chowdhury wrote:
quoted hunk
s/struture/structure/

Signed-off-by: Bhaskar Chowdhury <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help