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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 7479BECDFAA for ; Wed, 18 Jul 2018 06:56:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F0392075A for ; Wed, 18 Jul 2018 06:56:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F0392075A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbeGRHct convert rfc822-to-8bit (ORCPT ); Wed, 18 Jul 2018 03:32:49 -0400 Received: from mail.bootlin.com ([62.4.15.54]:37424 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbeGRHct (ORCPT ); Wed, 18 Jul 2018 03:32:49 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 793EA20741; Wed, 18 Jul 2018 08:56:26 +0200 (CEST) Received: from xps13 (AAubervilliers-681-1-27-161.w90-88.abo.wanadoo.fr [90.88.147.161]) by mail.bootlin.com (Postfix) with ESMTPSA id E42E320720; Wed, 18 Jul 2018 08:56:25 +0200 (CEST) Date: Wed, 18 Jul 2018 08:56:25 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Arnd Bergmann , Tudor Ambarus , Alexandre Belloni , Wenyou Yang , Masahiro Yamada , Richard Weinberger , Gregory CLEMENT , Linux Kernel Mailing List , Marek Vasut , linux-mtd , Josh Wu , Romain Izard , Brian Norris , David Woodhouse , Peter Rosin , Linux ARM Subject: Re: [PATCH 2/3] mtd: atmel nand: fix build warning on 64-bit Message-ID: <20180718085625.436958fc@xps13> In-Reply-To: <20180717230839.3fc2264e@bbrezillon> References: <20180709155730.2422841-1-arnd@arndb.de> <20180709155730.2422841-2-arnd@arndb.de> <0b4ee469-8c37-9002-9067-f37f8dde869e@microchip.com> <20180717230523.7005ca91@xps13> <20180717230839.3fc2264e@bbrezillon> Organization: Bootlin X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, Boris Brezillon wrote on Tue, 17 Jul 2018 23:08:39 +0200: > On Tue, 17 Jul 2018 23:05:23 +0200 > Miquel Raynal wrote: > > > Hi Arnd, > > > > Arnd Bergmann wrote on Fri, 13 Jul 2018 12:16:09 +0200: > > > > > On Fri, Jul 13, 2018 at 11:56 AM, Tudor Ambarus > > > wrote: > > > > Hi, Arnd, > > > > > > > > On 07/09/2018 06:57 PM, Arnd Bergmann wrote: > > > >> + nc->ebi_csa_offs = (uintptr_t)match->data; > > > > > > > > I guess we should declare ebi_csa_offs as size_t, right? > > > > > > Yes, that would make sense, though it doesn't change the behavior. > > > > > > > Do you plan to send a new version? I don't want to mess with > > improvised casts :) > > This fix is already part of my COMPILE_TEST series (v2), and I don't > thing declaring ->ebi_csa_offs as a size_t is useful. I missed that, ok. Thanks, Miquèl