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  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, 18 Aug 2020 13:18:18 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     awogbemila@...gle.com
Cc:     netdev@...r.kernel.org, csully@...gle.com, yangchun@...gle.com
Subject: Re: [PATCH net-next 10/18] gve: Add support for raw addressing to
 the rx path

From: David Awogbemila <awogbemila@...gle.com>
Date: Tue, 18 Aug 2020 12:44:09 -0700

>  static void gve_rx_free_ring(struct gve_priv *priv, int idx)
>  {
>  	struct gve_rx_ring *rx = &priv->rx[idx];
>  	struct device *dev = &priv->pdev->dev;
>  	size_t bytes;
> -	u32 slots;
> +	u32 slots = rx->mask + 1;

Reverse christmas tree ordering for local variables please.

Powered by blists - more mailing lists