Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp779434imw; Thu, 14 Jul 2022 10:35:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHVQtfPYpbkwU00cbunJLtuOEQGPcMQEz9uEC1b7SrfSwE2BHc1mtTFt3RBoH5b3rR0L7E X-Received: by 2002:a63:480b:0:b0:40d:d4d1:7daf with SMTP id v11-20020a63480b000000b0040dd4d17dafmr8556989pga.512.1657820140367; Thu, 14 Jul 2022 10:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657820140; cv=none; d=google.com; s=arc-20160816; b=UYH87NLS1O4GlDiG5MEXpkyWfX0xjBXWgtgmQJGJQCY2lxUrnXOgR6kTq+gkAxsP7j B8D5KjcZxzCZOvDVbyjwIaJB18VdVTCP40e5V6hvFcP1p44cDhTokRY1JsnXX3BqoA3q KczcW/PICH7FHKq3Ih9GTLiE72QYeLSBIRXqhII1PXB9BgAuNbM5Dw5ndkzkp27IKhbI /DHcJ34X/+LjeI0/vi9p1Fuf6gqpkyI5oVcSaYwLWHd9Bol4an3+YDWWkdynEW9Y6Hf+ wh+xTDqkHmqb4Rg+cKfvEg3AobCOA9O8hTjTg1HSXjuh75WxONkENpia+L2ipLC6+EMX B6uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=Gbjcd2IgrO6L9fc9+WkTPZv76RZzps8wedDsg5wGKeY=; b=ZSIjIDd4gGn5FSahXys/hPz3oGq3P3OB5VfFiH3E+ApQewC2KY4QIAX5HvUwEPDFDf PmeAJHOiWSJy2nZycDlR5reox2kEpV2kfiTG1PQ4WuBbCtuG+vBaeDik2TEj4Dp4B2jS C+VF9JYXJvBvkRKePMdxjkVwl45oWKVN7VM9J+02vmC8y6ddGa+Ec0aAVUyHA6ZSY6JC aKccZ6E4lRI6nyQXhDQrgRB0Ajn07F6HZQ01twVL1DdnFxDXAckoZA+RLR32uR7VCuc+ 101ANnmH/vzjOrMdm/Mtla5hzAaX5FQ3f9cqw3ujA52HqXULxhjIotEBmWQ0W3zuMqFj ov/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CCb+r6Cx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 8-20020a631948000000b003db947d50fcsi2333100pgz.174.2022.07.14.10.35.25; Thu, 14 Jul 2022 10:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CCb+r6Cx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237167AbiGNRY2 (ORCPT + 99 others); Thu, 14 Jul 2022 13:24:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiGNRY1 (ORCPT ); Thu, 14 Jul 2022 13:24:27 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9823599C5 for ; Thu, 14 Jul 2022 10:24:25 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id y14-20020a17090a644e00b001ef775f7118so9281786pjm.2 for ; Thu, 14 Jul 2022 10:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:content-language:to :cc:references:from:subject:in-reply-to:content-transfer-encoding; bh=Gbjcd2IgrO6L9fc9+WkTPZv76RZzps8wedDsg5wGKeY=; b=CCb+r6CxQcpbkaIIPO2+OFKrJm34bemuloqAiWccmWzW0dxE0dhcDaVN86XyANf2cf kv8i80/zkbjcsK8DcFaJO8ls4IkCCHuyokBkwaZWpQ53mnTleKA3g+pH05/wxT182Hdf ec0rhNnhkAEJa9wgmReQTy2uZknsTV3T16Wje1MtaxZ6TjIzeLIcKBVA4Q2ULKAlgO/S 4MVc4nKI1aMgWpQrzmygW997CXLU2ouWUG4R41wrQS4oZUlf51zyRL+Z1U1nLE2tJN9c ycjfL/lSIvmuKM3wP+FzpuT5bA6CfjfykUgHHvASyTFEkMSZQvp9PLTL+FR5DXg6tlpO qBXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=Gbjcd2IgrO6L9fc9+WkTPZv76RZzps8wedDsg5wGKeY=; b=pBmMjc9Y+Q90ytpjvm1Xp4ojarYU4aMiJpCCi030ppi3gk/MsrkBivNabmtqsrguo9 wwYwgw4bBy3j6yuqcCALbeFTgS37MGUdI3BCyyiKjrxLG3qo4/iLTXUVhHOsnzCYBUgl HAaJpnflnvq6wKObRoBG+FVK777a1um8wehq4LKNehe+2z79qzrGhIeVyzC0FnSoYEqM ZdrASGU2fcG92nv7LwWjOAwkFZSw3JAO7hV6GcyhFQlqJay1DeoVAMavtCSP44ujzJgS hRy1JA3fuFg+m+ZtR9/zSKSDKGA41xEesrj7tdCG07NZ+MmO+H0+CULXGyTEVvnazFwk 3WtA== X-Gm-Message-State: AJIora+fU0acZAnwsN/xum5NWDzUzPWk5fX3fluVlgLs7jdlXKiUhES+ Pnc5GwK35bQEtJGRo4Wsras= X-Received: by 2002:a17:902:7209:b0:16b:fa09:5d6 with SMTP id ba9-20020a170902720900b0016bfa0905d6mr9325521plb.120.1657819465381; Thu, 14 Jul 2022 10:24:25 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n8-20020a17090a160800b001ef869aa755sm3909452pja.15.2022.07.14.10.24.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Jul 2022 10:24:24 -0700 (PDT) Sender: Guenter Roeck Message-ID: <6d5ac61b-b490-4f9d-6521-a4b7477d6fd2@roeck-us.net> Date: Thu, 14 Jul 2022 10:24:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US To: Linus Torvalds , Geert Uytterhoeven Cc: Alex Deucher , Harry Wentland , Leo Li , Alex Deucher , Balbir Singh , Daniel Axtens , Paul Mackerras , Michael Ellerman , Kefeng Wang , "Russell King (Oracle)" , Linux Kernel Mailing List , amd-gfx list References: <20220713050724.GA2471738@roeck-us.net> From: Guenter Roeck Subject: Re: Linux 5.19-rc6 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/14/22 09:48, Linus Torvalds wrote: > On Thu, Jul 14, 2022 at 12:23 AM Geert Uytterhoeven > wrote: >> >> Oh, it's not just this one. The lists of build regressions between v5.18 >> and v5.19-rc1 [1] resp. v5.19-rc6 [2] look surprisingly similar :-( >> >> [1] https://lore.kernel.org/all/20220606082201.2792145-1-geert@linux-m68k.org >> [2] https://lore.kernel.org/all/20220711064425.3084093-1-geert@linux-m68k.org > > Hmm. > > Some of them are because UM ends up defining and exposing helper > functions like "to_phys()", which it just shouldn't do. Very generic > name - so when some driver ends up using the same name, you get those > errors. We can't use virt_to_phys() and phys_to_virt() because they are defined for the underlying architecture. Would uml_to_phys() and uml_to_virt() be acceptable ? If so, I'll submit a patch. > > And some look positively strange. Like that > > drivers/mfd/asic3.c: error: unused variable 'asic' > [-Werror=unused-variable]: => 941:23 > > which is clearly used three lines later by > > iounmap(asic->tmio_cnf); > > and I can't find any case of 'iounmap()' having been defined to an > empty macro or anything like that to explain it. The error in > drivers/tty/serial/sh-sci.c looks to be exactly the same issue, just > with ioremap() instead of iounmap(). > > It would be good to have some way to find which build/architecture it > is, because right now it just looks bogus. > > Do you perhaps use some broken compiler that complains when the empty > inline functions don't use their arguments? Because that's what those > ioremap/iounmap() ones look like to me, but there might be some > magical architecture / config that has issues that aren't obvious. > > IOW, I'd love to get those fixed, but I would also want a little bit more info. > Geert gave the necessary hint - it looks like sh-nommu used defines for iomap() and iounmap(), which made the variable unused. According to Geert that was fixed a couple of days ago. Guenter