From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9338C282C2 for ; Wed, 13 Feb 2019 10:39:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CA812190A for ; Wed, 13 Feb 2019 10:39:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391486AbfBMKjO (ORCPT ); Wed, 13 Feb 2019 05:39:14 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:47777 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbfBMKjN (ORCPT ); Wed, 13 Feb 2019 05:39:13 -0500 X-Originating-IP: 90.53.137.203 Received: from localhost (alyon-652-1-306-203.w90-53.abo.wanadoo.fr [90.53.137.203]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id EBE6A24000F; Wed, 13 Feb 2019 10:39:06 +0000 (UTC) Date: Wed, 13 Feb 2019 11:39:05 +0100 From: Alexandre Belloni 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 Subject: Re: [PATCH 07/11] mtd: rawnand: atmel: add sam9x60 nand controller support 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 Content-Disposition: inline In-Reply-To: <20190213085930.31578-8-tudor.ambarus@microchip.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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