[PATCH] qed: fix typo in comment

Deming Wang posted 1 patch 2 years, 8 months ago
drivers/net/ethernet/qlogic/qed/qed_ll2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] qed: fix typo in comment
Posted by Deming Wang 2 years, 8 months ago
Replace "parital" with "partial".

Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
 drivers/net/ethernet/qlogic/qed/qed_ll2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/qlogic/qed/qed_ll2.c b/drivers/net/ethernet/qlogic/qed/qed_ll2.c
index e5116a86cfbc..a6e5e6812897 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_ll2.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_ll2.c
@@ -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);
-- 
2.27.0
Re: [PATCH] qed: fix typo in comment
Posted by Simon Horman 2 years, 8 months ago
On Tue, Jan 17, 2023 at 05:08:29AM -0500, Deming Wang wrote:
> Replace "parital" with "partial".
> 
> Signed-off-by: Deming Wang <wangdeming@inspur.com>
> ---
>  drivers/net/ethernet/qlogic/qed/qed_ll2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/qlogic/qed/qed_ll2.c b/drivers/net/ethernet/qlogic/qed/qed_ll2.c
> index e5116a86cfbc..a6e5e6812897 100644
> --- a/drivers/net/ethernet/qlogic/qed/qed_ll2.c
> +++ b/drivers/net/ethernet/qlogic/qed/qed_ll2.c
> @@ -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.

>  	 * Since we don't have an associated net_device.
>  	 */
>  	skb_reset_mac_header(skb);
> -- 
> 2.27.0
>