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]
Message-Id: <20161130.135725.407314756675613303.davem@davemloft.net>
Date:   Wed, 30 Nov 2016 13:57:25 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     gregory.clement@...e-electrons.com
Cc:     linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        jszhang@...vell.com, arnd@...db.de, jason@...edaemon.net,
        andrew@...n.ch, sebastian.hesselbarth@...il.com,
        thomas.petazzoni@...e-electrons.com,
        linux-arm-kernel@...ts.infradead.org, nadavh@...vell.com,
        mw@...ihalf.com, dima@...vell.com, yelena@...vell.com
Subject: Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to
 store the rx buffer virtual address

From: Gregory CLEMENT <gregory.clement@...e-electrons.com>
Date: Tue, 29 Nov 2016 15:55:21 +0100

> +	/* Virtual address of the RX buffer */
> +	void  **buf_virt_addr;
> +
>  	/* Virtual address of the RX DMA descriptors array */
>  	struct mvneta_rx_desc *descs;
>  
 ...
> +		data = (unsigned char *)rxq->buf_virt_addr[index];

This cast is unnecessary, please remove it.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ