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=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 0B8D1C5519F for ; Fri, 20 Nov 2020 11:24:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B221822255 for ; Fri, 20 Nov 2020 11:24:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727197AbgKTLYF convert rfc822-to-8bit (ORCPT ); Fri, 20 Nov 2020 06:24:05 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:59431 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbgKTLYE (ORCPT ); Fri, 20 Nov 2020 06:24:04 -0500 X-Originating-IP: 91.224.148.103 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8F5FE60009; Fri, 20 Nov 2020 11:24:00 +0000 (UTC) Date: Fri, 20 Nov 2020 12:23:59 +0100 From: Miquel Raynal To: Stephen Rothwell Cc: Boris Brezillon , Serge Semin , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the nand tree Message-ID: <20201120122359.0bb7d98f@xps13> In-Reply-To: <20201120113929.0aff2f32@canb.auug.org.au> References: <20201120113929.0aff2f32@canb.auug.org.au> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org 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... Thanks, Miquèl