Skip to contentSkip to conversation

qed: fix typo in comment

PATCH In review Deming Wang 2 participants 2 messages Jan 17, 2023

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

PATCH 1/1 qed: fix typo in comment

Replace "parital" with "partial".

---
 drivers/net/ethernet/qlogic/qed/qed_ll2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/qlogic/qed/qed_ll2.c +1 -1
index e5116a86cfbc..a6e5e6812897 100644
@@ -212,7 +212,7 @@ static void qed_ll2b_complete_rx_packet(void *cxt,
 	skb_put(skb, data->length.packet_length);
 	skb_checksum_none_assert(skb);
 
-	/* Get parital ethernet information instead of eth_type_trans(),
+	/* Get partial ethernet information instead of eth_type_trans(),
 	 * Since we don't have an associated net_device.
 	 */
 	skb_reset_mac_header(skb);
Signature · 1 line
2.27.0
#1 lore raw
Quoted 12 lines · Deming Wang

Replace "parital" with "partial".

---
 drivers/net/ethernet/qlogic/qed/qed_ll2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/qlogic/qed/qed_ll2.c +0 -0
index e5116a86cfbc..a6e5e6812897 100644

drivers/net/ethernet/qlogic/qed/qed_ll2.c static void qed_ll2b_complete_rx_packet(void *cxt, · line 215

Quoted 5 lines
drivers/net/ethernet/qlogic/qed/qed_ll2.c +1 -1
@@ -212,7 +212,7 @@ static void qed_ll2b_complete_rx_packet(void *cxt,
 	skb_put(skb, data->length.packet_length);
 	skb_checksum_none_assert(skb);
 
-	/* Get parital ethernet information instead of eth_type_trans(),
+	/* Get partial ethernet information instead of eth_type_trans(),

Perhaps also capitalise Ethernet as the line is being changed anyway.

Quoted 6 lines
drivers/net/ethernet/qlogic/qed/qed_ll2.c +0 -0
 	 * Since we don't have an associated net_device.
 	 */
 	skb_reset_mac_header(skb);
Signature · 1 line
2.27.0