From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Wed, 30 Nov 2016 13:57:25 -0500 (EST) Subject: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address In-Reply-To: References: Message-ID: <20161130.135725.407314756675613303.davem@davemloft.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Gregory CLEMENT 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.