From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 07/11] mtd: rawnand: atmel: add sam9x60 nand controller support Date: Wed, 13 Feb 2019 11:39:05 +0100 Message-ID: <20190213103905.GH10129@piout.net> References: <20190213085930.31578-1-tudor.ambarus@microchip.com> <20190213085930.31578-8-tudor.ambarus@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190213085930.31578-8-tudor.ambarus@microchip.com> Sender: linux-kernel-owner@vger.kernel.org To: Tudor.Ambarus@microchip.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, Nicolas.Ferre@microchip.com, Ludovic.Desroches@microchip.com, dwmw2@infradead.org, computersforpeace@gmail.com, bbrezillon@kernel.org, marek.vasut@gmail.com, richard@nod.at, miquel.raynal@bootlin.com, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org List-Id: devicetree@vger.kernel.org Hi, On 13/02/2019 09:00:05+0000, Tudor.Ambarus@microchip.com wrote: > - nc->ebi_csa_offs = (uintptr_t)match->data; > + nc->ebi_csa = (struct atmel_smc_nand_ebi_csa_cfg *)match->data; > This cast is probably not necessary anymore as this cast a pointer to a pointer. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com