Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1206012pxb; Fri, 20 Nov 2020 04:03:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnC48YCKXp7YPBM7zXNryA1CtqDevJqbzD3Yi8bxg7i+/oMlefZoE2j55k2k172IUMCWCq X-Received: by 2002:a05:6402:3076:: with SMTP id bs22mr1333246edb.267.1605873813707; Fri, 20 Nov 2020 04:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605873813; cv=none; d=google.com; s=arc-20160816; b=aCgdDNVKazWY9/egZ3x1RGRGyqESURW6NZAQG+hX1hV2K9fyJFQoxZKrOBZf1q8cCP XWZohcAIPumAuxjkDloRUYEYKo21Fco3fkKT/PO/qfZJ83s5CzIvbwLWkHPJefo0CW1X eB2MrpaFYO1OgD2pY7HfVYM+b0yDtWRqGvo0r1iIrV1LgKVgHmKCPHavN5sNqGLnWdZF 8rLrfSvvwKFxtZItE6KPtL7TT517DZ2sfvan0gftC9Ht7vHE/8E2pTcS3uDqfmWe+7rj orAH7QU48YmrnSm2pIS9q9n/uY3Pj3ZVOPBa7wQhoLovdCp5QyFSLPQVkJUVS0lwOFCs qqRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Ugc0PjLSPW+vDe4n+l+8JI+w8nBwPUwmA17JYFIFcUU=; b=mzpFfYVdSNDslM/p1YwsEPTOsjIP7VpmoK57zhmPwqh62JB593ChIIjollXJqRGAJc i3R42odHXCVOEzJCemdfyfdRvhnGgYW/uJgQuZ0WKhWhBbe3oNZBkoX9Wt8m30bPWBBD E9qAlPqBubhHP3zCrfXhwJh8ayFVF7bSes8r3gnBNefjGUmmmfiEPUtwsPxqXvLyw5YQ 2CaGoJXbS5RKAHqBDlcCG2X5IuKOmD7JcRjHywC1Y5efHdIKh9Oh1iX7s5cbv33nFtW5 /YVayOKV0P3Epr2K5bH49BvsSD5yUbUGvZ9fin+sUobZex0ND+jcoQlz3VAwamiAOE1W 4P5Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz12si1858045ejc.672.2020.11.20.04.03.07; Fri, 20 Nov 2020 04:03:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727885AbgKTMB3 (ORCPT + 99 others); Fri, 20 Nov 2020 07:01:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727815AbgKTMB2 (ORCPT ); Fri, 20 Nov 2020 07:01:28 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EAFC0613CF; Fri, 20 Nov 2020 04:01:28 -0800 (PST) Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 28F571F45EFD; Fri, 20 Nov 2020 12:01:26 +0000 (GMT) Date: Fri, 20 Nov 2020 13:01:23 +0100 From: Boris Brezillon To: Miquel Raynal Cc: Stephen Rothwell , Serge Semin , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the nand tree Message-ID: <20201120130123.1ca9e7af@collabora.com> In-Reply-To: <20201120122359.0bb7d98f@xps13> References: <20201120113929.0aff2f32@canb.auug.org.au> <20201120122359.0bb7d98f@xps13> Organization: Collabora X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?