lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 30 Mar 2021 09:27:30 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Huazhong Tan <tanhuazhong@...wei.com>, davem@...emloft.net,
        kuba@...nel.org, jesse.brandeburg@...el.com, j.vosburgh@...il.com,
        vfalico@...il.com, andrew@...n.ch, elder@...nel.org
Cc:     netdev@...r.kernel.org, salil.mehta@...wei.com,
        yisen.zhuang@...wei.com, huangdaode@...wei.com,
        linuxarm@...neuler.org, linuxarm@...wei.com,
        Peng Li <lipeng321@...wei.com>
Subject: Re: [RESEND net-next 1/4] net: i40e: remove repeated words

On 3/30/21 12:27 AM, Huazhong Tan wrote:
> From: Peng Li <lipeng321@...wei.com>
> 
> Remove repeated words "to" and "try".
> 
> Signed-off-by: Peng Li <lipeng321@...wei.com>
> Signed-off-by: Huazhong Tan <tanhuazhong@...wei.com>\

Hi,

> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
> index 0f84ed0..1555d60 100644
> --- a/drivers/net/ethernet/intel/i40e/i40e_main.c
> +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
> @@ -7339,7 +7339,7 @@ static void i40e_vsi_set_default_tc_config(struct i40e_vsi *vsi)
>  	qcount = min_t(int, vsi->alloc_queue_pairs,
>  		       i40e_pf_get_max_q_per_tc(vsi->back));
>  	for (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) {
> -		/* For the TC that is not enabled set the offset to to default
> +		/* For the TC that is not enabled set the offset to default

I think that                                              offset to the default
would be clearer. IMO.

>  		 * queue and allocate one queue for the given TC.
>  		 */
>  		vsi->tc_config.tc_info[i].qoffset = 0;


thanks.
-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ