Thread (1 message) 1 message, 1 author, 2016-11-30

Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address

flat view

From: Gregory CLEMENT <hidden>
Date: 2016-11-30 21:27:52
Also in: linux-arm-kernel, lkml

Hi David,
 
 On mer., nov. 30 2016, David Miller [off-list ref] wrote:
From: Gregory CLEMENT <redacted>
Date: Tue, 29 Nov 2016 15:55:21 +0100
quoted
+	/* Virtual address of the RX buffer */
+	void  **buf_virt_addr;
+
 	/* Virtual address of the RX DMA descriptors array */
 	struct mvneta_rx_desc *descs;
 
 ...
quoted
+		data = (unsigned char *)rxq->buf_virt_addr[index];
This cast is unnecessary, please remove it.
OK I am doing it now.

Thanks,

Gregory


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help