Skip to contentSkip to conversation

liquidio: Fix a typo

PATCH In review Bhaskar Chowdhury 2 participants 2 messages Mar 22, 2021

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

PATCH 1/1 liquidio: Fix a typo

s/struture/structure/

---
 drivers/net/ethernet/cavium/liquidio/octeon_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cavium/liquidio/octeon_device.h +1 -1
index fb380b4f3e02..b402facfdc04 100644
@@ -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

#1 lore raw
Quoted 13 lines · Bhaskar Chowdhury

s/struture/structure/

---
 drivers/net/ethernet/cavium/liquidio/octeon_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cavium/liquidio/octeon_device.h +0 -0
index fb380b4f3e02..b402facfdc04 100644

drivers/net/ethernet/cavium/liquidio/octeon_device.h void octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable); · line 883

Quoted 5 lines
drivers/net/ethernet/cavium/liquidio/octeon_device.h +1 -1
@@ -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.

Quoted 4 lines
drivers/net/ethernet/cavium/liquidio/octeon_device.h +0 -1
  */
 struct octeon_config *octeon_get_conf(struct octeon_device *oct);
 
--
Signature · 1 line
~Randy