Received: by 2002:a05:7412:4e10:b0:e2:908c:2ebd with SMTP id gb16csp60277rdb; Tue, 7 Nov 2023 00:07:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIZxybhXd3ZQhhS/EXefLxAHzNuaFd/P1+Jf3F8TyOOX2zKfyPToh3XD4LNT2rXS+74LsQ X-Received: by 2002:a05:6a00:2401:b0:6b8:69fa:8ff with SMTP id z1-20020a056a00240100b006b869fa08ffmr21800405pfh.17.1699344429305; Tue, 07 Nov 2023 00:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699344429; cv=none; d=google.com; s=arc-20160816; b=fJa1eGrMJ0GzM5fQztuC/i85BERy8jpMgPYG7KcpnjX0WdJB9utIKYR7d29FC/Fj+2 EFmnb3DviPrpXpqgEvpG9RwezrtwDjtWGSgrTTbOH2IWpzAviko5HBpuIqRsGbQz8fkr dnL/pgN/32pIzrh8hea1qaUlxvme9w0gwND38YR8MH5Zdj1+jE1QusH+IeY8tVL3huUm TVDsc3eguyJQv3nG+SfWKFmvcuZwI6/3Atrw5mzi6y+CcGZMR97hlKhq79wpvFksHlMU +ZTc6xVzmoSzG1HVkdwWzy0lSGTgkpNl8YvU3URatGoZybEMULjrWtBdsc+nc8/O+Uq3 kfIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=kUJsPs5h4dMzP+QB89ARP4Mh+Ywy+SZafpMELyFGsZk=; fh=h1rSV6flnP+Cy4x4lc6PjAO8+Ip3M0aF5ti4qIj2H4w=; b=Y2NMeVsUCay+vF6MYR/KeOWiQVyqQx2SX5wM+6QYJBP/WSgxOsLtSz/cAhwm6bY+Ce ZGjjK3597woD2IU5vWDTPvCkHPGSe+exdBwQ7AlbT74h4h4jJ0usWHbO59w43+r1eUTG lkSWu6qkB07BAfmHvKi+UdEtp1OowraDC1ttPLnQzz6k8WshvzdXjSqSalb4OMxNzn47 94qBr4wE8eUJuPMoUcWXfCzP+h353uuHEe7gfHEgoA2kGDkWH4GMVDr/Kw1bWTjh/rUc hREwjyVdHEw7EK77bgAvUGzbns76UDWFGnaQPGisc4k7ESpqS+L62tqybpZWl2ggj9ah dEmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sNBLPe/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m9-20020a056a00080900b00690ffbb46e6si10520897pfk.261.2023.11.07.00.07.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 00:07:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sNBLPe/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 412958027A20; Tue, 7 Nov 2023 00:07:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233685AbjKGIG6 (ORCPT + 99 others); Tue, 7 Nov 2023 03:06:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjKGIG4 (ORCPT ); Tue, 7 Nov 2023 03:06:56 -0500 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED3F3EA for ; Tue, 7 Nov 2023 00:06:53 -0800 (PST) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5b31c5143a0so64349107b3.3 for ; Tue, 07 Nov 2023 00:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699344413; x=1699949213; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kUJsPs5h4dMzP+QB89ARP4Mh+Ywy+SZafpMELyFGsZk=; b=sNBLPe/WXi0zlrzu7zXUE26A5SLiDXqs6RiJyJfu0pGApG5cT1EgEQ94F1JbZnN46q 8GaCpJdXZ4Zt2CYkVEj1tueR2JYV/shHhUyeM45Ezupo+P3sKO39g0ZAierHLXide/95 bWc86BaEWYTqi7KargSeBX+T30vzGTo+rfwWxhO7j2xMKa88JLoIh2JicRXTTtfCI6F6 U/pDcgrTkjR5cRnQxFEGOKXdu7xB2yZlJIwFyPc2h8y6kJCJINp8GUC3acDSb3FiJXDD UBdjE/Givc0wuZRkwYnI9iQGuqqXUrsxqlhmHH9vYdtGOWEvBCgbDvEkfMU7F4kUst0g klxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699344413; x=1699949213; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kUJsPs5h4dMzP+QB89ARP4Mh+Ywy+SZafpMELyFGsZk=; b=RFBqySSI+Oz5lqwO+LFKFCOC0fg1MydD3KQ12i8hMH/Dr8XN4J1fSma/FHNVpvmVhZ t6xMaqfVV8LkhKzZAfIXBskVW90saO0CeiIcRAwtqVjKsiU+iSWevVv7JWKe9N59E9vW 2/S4jmzj6ZOFaUuxJo0FciRZwSCHbVyQKa3SC6efQM/Lh/hsIS/Ftl+xWbLOturtDENw V3VbnnS210GPRljbw6Kwmks7XpqpJ29vFWB65nldH74KxfUGiv9K3C6Y2B8NSocIRJ+G mVDUQOpkYZVid1PdQ8L6a9/9bgnhglqaYqrDbw6rA4O3rrzheas84V/gQac4qdIYosAV Dh1A== X-Gm-Message-State: AOJu0YyvdKs6v1MyIern/zH4dEQQh8xVPUA1co8viXN9snFMQPLgJuUD 5LxovE+wR157I95cvp7TOxEX8goRNSJ+GIc2b5jMMkPl5DqfaAYO X-Received: by 2002:a81:6582:0:b0:5a8:960d:e538 with SMTP id z124-20020a816582000000b005a8960de538mr13935556ywb.47.1699344413174; Tue, 07 Nov 2023 00:06:53 -0800 (PST) MIME-Version: 1.0 References: <20231106-virt-to-pfn-fix-ppc-v1-1-93197a7ccab4@linaro.org> <87ttpyw1ez.fsf@mail.lhotse> In-Reply-To: <87ttpyw1ez.fsf@mail.lhotse> From: Linus Walleij Date: Tue, 7 Nov 2023 09:06:41 +0100 Message-ID: Subject: Re: [PATCH] powerpc: Fix signature of pfn_to_kaddr() To: Michael Ellerman Cc: Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel test robot Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 07 Nov 2023 00:07:06 -0800 (PST) On Tue, Nov 7, 2023 at 6:57=E2=80=AFAM Michael Ellerman wrote: > I'm struggling to connect the removal of const with those bug reports. > It looks like all those warnings are about 0xc000000000000000 being > outside the range of unsigned long when building 32-bit. Aha right. I wonder what actually causes that. > Is it the right bug report link? Yeah I'm just bad at understanding these reports. > The current signature of: > > static inline const void *pfn_to_kaddr(unsigned long pfn) ... > > seems OK to me. OK then, drop this patch. Yours, Linus Walleij