Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1914635rdg; Sun, 15 Oct 2023 03:06:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwSfGNsoAO6XPGm5tRe/G3c0sRe3UX70xMIrTCGU+Vul2+2aJjVG327xo7zcmfatAnY1BP X-Received: by 2002:a05:6a00:2da0:b0:6bd:46e8:9b5a with SMTP id fb32-20020a056a002da000b006bd46e89b5amr2476620pfb.27.1697364411175; Sun, 15 Oct 2023 03:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697364411; cv=none; d=google.com; s=arc-20160816; b=OqpiuYfYuphljFJ+Ltbr3AGeTgp/KjoaqP4RQubMHUlbf1cCagcDhPbmzufD7m7AzL wPLhO+74LGsetY1i+ZN+ggf5jYsyCCO67UP4s3z9i4OrcKbNUHrldSlTedxUNykcpB7n G+5fuHhr0vtzwYxWgTDN+M9Z3vdNqT7rmF5m/dI+FuZurvEkrdkdkAhVi7XkMOMwC8r8 4l1IehlwnkR42aicdVXmAWZD+GTqtPxIjL8R+Y7Ss71vlVseqty4SxX9wl0vzML0PqOE 5DrOQgARDo4CMy0IMi9iwWXwVrlzHuDRUnkG13nmS7FIBbE8tRVZdSR+SJeclMHzg6qK sgEA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=rSmDJMp3G9hK+xqPuXosnrlvSeh7DhdTVC+45IF9gys=; fh=IXmnaKDd/Y2yM6BpI6h5VlygVpxtmsrYlCtHGPQI1xM=; b=Umx1pRuNzxcB0IlIx4LOyCfgKPnE5xBu7g4GUv95RAHSoZWktCUIBer06U1LNPQgQI sHycFDrzK6UpFbv+JcG/7hEozPEmWaxiSXTUyioZjafK6wT0acGH8oxEkV5lLYM1nPrz VE0Pbmtjoaikj865RWDZz9jJ0XkiJw3m+ZyAAgNR4fPkJknlpFMM1ranL7Au+lRDz/iu D/V0vgpQz8cljrhKSKVSFgQ4fVevPJzYXUng00rbQxXfJo1aXXU4YhVPEt3AXQ/UO0Pn 3oIdde7TNdKcAV9B8E/jpb2vLpeyBvh3MkEllYk8zFOKg02sxRiTm+GcktcSDszT82gL Rebw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=bUVDli48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m12-20020a656a0c000000b005ab00d84e1esi5984594pgu.765.2023.10.15.03.06.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 03:06:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=bUVDli48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 14CB3809C3AA; Sun, 15 Oct 2023 03:06:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjJOKGL (ORCPT + 99 others); Sun, 15 Oct 2023 06:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjJOKGK (ORCPT ); Sun, 15 Oct 2023 06:06:10 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05AAFE1 for ; Sun, 15 Oct 2023 03:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1697364366; bh=rSmDJMp3G9hK+xqPuXosnrlvSeh7DhdTVC+45IF9gys=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=bUVDli48G2iyqkwvEk+tsRkNE59kH76RMNLUvO8J6ACPVSEVBTVfDFFs7xkdGAQ24 4+xayPKOk5G8zCbkWKCFqVU2xIsfDdp0PnVm2YVOuvMOCpNwf4REBn775VrRVFyVbK 4Zg/fpG9RLn+6u2REOFAoRSmAtwb6i90lV0VX4phIPS8k40mVI20voZv8Ohk13n4Mz PLEiRWmrUkrewhm/EyVlf73WqU7DIdUZEI/m8Mg6mF2VAazYi+KcyEfpyin1A+SCwZ +64UZGK4KaeE54F+gCmD5grE2oQSFWUfmhIuazOzYT/+Qdvg/gsEYibknCyOQBQEVx YpItgMs+Rq7WQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4S7bVQ0nYdz4wnx; Sun, 15 Oct 2023 21:06:06 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot In-Reply-To: <5de2998c57f3983563b27b39228ea9a7229d4110.1695385984.git.christophe.leroy@csgroup.eu> References: <5de2998c57f3983563b27b39228ea9a7229d4110.1695385984.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc: Only define __parse_fpscr() when required Message-Id: <169736429855.960528.8288813432399517714.b4-ty@ellerman.id.au> Date: Sun, 15 Oct 2023 21:04:58 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 03:06:36 -0700 (PDT) On Fri, 22 Sep 2023 14:33:13 +0200, Christophe Leroy wrote: > Clang 17 reports: > > arch/powerpc/kernel/traps.c:1167:19: error: unused function '__parse_fpscr' [-Werror,-Wunused-function] > > __parse_fpscr() is called from two sites. First call is guarded > by #ifdef CONFIG_PPC_FPU_REGS > > [...] Applied to powerpc/next. [1/1] powerpc: Only define __parse_fpscr() when required https://git.kernel.org/powerpc/c/c7e0d9bb9154c6e6b2ac8746faba27b53393f25e cheers