Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1244181pxb; Fri, 20 Nov 2020 05:04:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt2ZFYN7MkbtpQw3mm2e8zsyU5rbubVfayIeCHGRscFKSHfRv+bEBb9k32zqEByrNyKU3U X-Received: by 2002:a17:906:f84f:: with SMTP id ks15mr31319468ejb.337.1605877443496; Fri, 20 Nov 2020 05:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605877443; cv=none; d=google.com; s=arc-20160816; b=c58NV93BNNOlnvvtFS/urO7LZTLP6WaqVOPQEuEcBmddNKMWsFygdspmBWBtuKT1pI iT/UoTi2UXjhqOgnjVeCbUngdpkeNk3DJMNYSSBdrTKLqxsxgjutse3KvQdAEyK2N1u5 yi75sCcWx/4d3Zl83QM5M14G50X3KxCsLSJDzAlyf9qRnPeMKqz0Wx9AGvUi8D1l7lVs 586T0yisPl0Ipr2n7AgliUWcXt5crMI2GsZOJwBNh4wzAUmt1pLo+ovp3wiOSHWygzcv YGif/9az2ZwgzidVrM2//8GiEUraiqg8zLvgUrB4GWu+9mHvVkCjE/Khf1MCe4tqhxuq Pltw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=bIpPiQft4bVyoY68lQnKcH4Ac8k+bg3+m2/Bn5NnnWs=; b=x4/BWlsCHq4hLk2B1IZnF8f8xdlgAtFGMNb/jS4dKftMaE9TP2gRgwJhXRkwBAVFCQ V5N4TVE0DjfzHOJ0ew2YtSt76IkUPJZ7tHylR7MTf4ik+ncr1cJYzRzyAyxrrqayr2LC NhIBVZlwGFT4gkVtBIrylMQdEI4H1VYTXV+OgX2unDYC9JuIEKps0uVdurTtZrRwcUDO /Q/TQsNGrqusHuPFmHwGdn4NT/Onm4f8ZBYnBP0R3oS0My7XE6Bww0bLYLPg62XvbJPj k1opqiXdLqWcIwoK0sXGc5hOjd6c6stO/PMED4lebzmiSth3YI2DX0RrAPz0okywKqUm Pmbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si1764195edi.57.2020.11.20.05.03.32; Fri, 20 Nov 2020 05:04:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728341AbgKTNBs (ORCPT + 99 others); Fri, 20 Nov 2020 08:01:48 -0500 Received: from mail.baikalelectronics.com ([87.245.175.226]:34484 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727962AbgKTNBs (ORCPT ); Fri, 20 Nov 2020 08:01:48 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 55F2A8000BBC; Fri, 20 Nov 2020 13:01:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJCB8JQy-CxY; Fri, 20 Nov 2020 16:01:42 +0300 (MSK) Date: Fri, 20 Nov 2020 16:01:41 +0300 From: Serge Semin To: Boris Brezillon CC: Serge Semin , Miquel Raynal , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the nand tree Message-ID: <20201120130141.dq7mp27qaxvvcixm@mobilestation> References: <20201120113929.0aff2f32@canb.auug.org.au> <20201120122359.0bb7d98f@xps13> <20201120130123.1ca9e7af@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20201120130123.1ca9e7af@collabora.com> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2020 at 01:01:23PM +0100, Boris Brezillon wrote: > On Fri, 20 Nov 2020 12:23:59 +0100 > Miquel Raynal wrote: > > > Hi Serge, > > > > Stephen Rothwell wrote on Fri, 20 Nov 2020 > > 11:39:29 +1100: > > > > > Hi all, > > > > > > After merging the nand tree, today's linux-next build (x86_64 > > > allmodconfig) produced this warning: > > > > > > drivers/mtd/maps/physmap-bt1-rom.c: In function 'bt1_rom_map_read': > > > drivers/mtd/maps/physmap-bt1-rom.c:39:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > > > 39 | shift = (unsigned int)src & 0x3; > > > | ^ > > > drivers/mtd/maps/physmap-bt1-rom.c: In function 'bt1_rom_map_copy_from': > > > drivers/mtd/maps/physmap-bt1-rom.c:78:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > > > 78 | shift = (unsigned int)src & 0x3; > > > | ^ > > > > > > Introduced by commit > > > > > > 69a75a1a47d8 ("mtd: physmap: physmap-bt1-rom: Fix __iomem addrspace removal warning") > > > > > > > Too bad :/ I'll drop this patch for now, let's look for another > > solution... > > uintptr_t cast? unsigned long shall also work here... -Sergey