Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1864043rwn; Fri, 9 Sep 2022 05:21:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4j/vhnhUyi/MyiKtRLa05dKm/p7dvrWd/Ut+W0qQdGRYqSvYs9CnkpHcgov3n6DtprIgA3 X-Received: by 2002:a17:906:730d:b0:73d:c8a1:a8ee with SMTP id di13-20020a170906730d00b0073dc8a1a8eemr9617013ejc.661.1662726113822; Fri, 09 Sep 2022 05:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662726113; cv=none; d=google.com; s=arc-20160816; b=0bq2n8ovNoP1DlBPShxCc2+5GY7Z+Qwy1NZ78Gce0bX1SziJXry+AbrL06+18Dwi/P vxKbCvb9V9iFeFGHN0XkqJhYvV90Kf7DL+vn3yn2V3pgwlfrM9jT2BdEhfxaB4NlYhhm J9Kk/6pqTkbI7Vz8LjtB74hrD51XEMkX5k/OSQqPezy/6byrFN3nZ87yF/5zRpC5nYcm LNSUejw9f6d8zajFH255FSHeDZ79E05LpYLFDQgC+a5mN43QUf6osAxwxf27BFTr36gI njiEMbtg1MXZt5ONWbRy9nrV2h39TP0vU0tuKMt8MGmcEWFBhPzxprCCU4yuLfnb1rLH +OOA== 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; bh=7Ji7s0kKaO9WK48go9fRCdTKIePBA69LjwjC8F0kRb0=; b=BBb3UtAtsqc0VBbbP8VEIRVcGIQ+eiJ0HmFosEF5cWdVy0OaH3jZKUZrOa28u2EYA2 amZY+e7IjDZ22z6Gxh++P/aDhKi9mc0nU+Ud/Rz5ScS+GC/hoOMKPzLoxvaPZcsBUH3I MuLANHu0oL+M1E7TaHlhgPw2SJPJVqSpoW+ib40Wn/gVjQL0AFLUzZahXIGhHhjXPmmr thKfQLRg7dahEfobu7mAeXKKS16nK1tDj7utwhWnStfA+oPp6Mtp7kYNYwXE6f6a6wOH 7vWNreSJrcZbhX7qcjeiIura1G4kTo0FQy1YWkYMWOJ3eGV/sWvMAUGJyOUVGO3S3Dlr fgKA== ARC-Authentication-Results: i=1; mx.google.com; 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 hb18-20020a170907161200b00732f76a97a0si463814ejc.0.2022.09.09.05.21.28; Fri, 09 Sep 2022 05:21:53 -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; 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 S231192AbiIIMLP (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230283AbiIIMKb (ORCPT ); Fri, 9 Sep 2022 08:10:31 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6BA6C12DA for ; Fri, 9 Sep 2022 05:10:05 -0700 (PDT) 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MPFDW4d6Vz4xXS; Fri, 9 Sep 2022 22:10:03 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Christophe Leroy , Nicholas Piggin Cc: kernel test robot , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <688084b40b5ac88f2905cb207d5dad947d8d34dc.1662531153.git.christophe.leroy@csgroup.eu> References: <688084b40b5ac88f2905cb207d5dad947d8d34dc.1662531153.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/math-emu: Inhibit W=1 warnings Message-Id: <166272525808.2076816.12460969365372770146.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:07:38 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, 7 Sep 2022 08:12:54 +0200, Christophe Leroy wrote: > When building with W=1 you get: > > arch/powerpc/math-emu/fre.c:6:5: error: no previous prototype for 'fre' [-Werror=missing-prototypes] > arch/powerpc/math-emu/fsqrt.c:11:1: error: no previous prototype for 'fsqrt' [-Werror=missing-prototypes] > arch/powerpc/math-emu/fsqrts.c:12:1: error: no previous prototype for 'fsqrts' [-Werror=missing-prototypes] > > [...] Applied to powerpc/next. [1/1] powerpc/math-emu: Inhibit W=1 warnings https://git.kernel.org/powerpc/c/78c73c80fd860d5b3471d8eaa2778a105a56f6ab cheers