qed: fix typo in comment

Message ID 20230117100829.1785-1-wangdeming@inspur.com
State New
Headers
Series qed: fix typo in comment |

Commit Message

Deming Wang Jan. 17, 2023, 10:08 a.m. UTC
  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(-)
  

Comments

Simon Horman Jan. 17, 2023, 3:36 p.m. UTC | #1
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
>
  

Patch

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);