Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp5111434pxb; Tue, 5 Oct 2021 18:07:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcc6iAy/XOrGJSYH6mI72MU+YdNxi6O+jGBhxSV6ejFBB5UMU2lmh7ht1Na9FMOaAO9HU7 X-Received: by 2002:a17:90a:a88a:: with SMTP id h10mr7387031pjq.226.1633482453355; Tue, 05 Oct 2021 18:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633482453; cv=none; d=google.com; s=arc-20160816; b=wXQ92hCHftrawJz32b7mo9jvOIBEZXI9R/vE3tasDOjK7Uy5cmqATEOwNXRvGs3ZAZ B0Nx29XzVX8boEclnjDWsJsSrZiCcJ9ad6YHei8c8tH73JbcKlKxcI2nCkR56JnK39+6 y+r8jZr/tmQlTiVEsHjwoA1wRG7IBLAbnCut4/U0iq3lRKBOdv4CX+2Eepapi2lmkMOx HBGO8y1b7+V6PAU4uFtBdGwyaC6Qhw5IW6b7+WZpTdIBj0og0/yd0Kp3Vs5tQfNUY/hz f1Ls9ErLObsPsiKkZxhKhI11AZDpPjMaLSrbgVSMv5w2PJ+q0qLLtm+3ri978qnQb0sc NZlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=+vWBHl1EvmMiSu6+JjZhRe8Jw+YmxOZ94aEmbzilIbI=; b=x5PfZTn4B7Uavbx+4dH94Ja5y+L56paD4uzlMI3WAwofQaMa4GUDH7Z5Ed9YvepCwF hnyFzhHSqaOIGuTqKv7ES9DykXj4PGwA3cslua5DanaJptTcQKiRkfWAk1QO6A5sfrDb 6mF3A6cc7mc1nSbECd0ujjacYWqfGJC8xmzQO4lojWFg/1GgcSNW2aRj/+8zeHLEcY9z chPXo/umhyyabknGDsbyOZNElWs9Vzk3AYpMxXwqPzvOSZbpOiFOOR3CYmCUFkDlBUNl aorF+r+046BCQDUgR/O2sIC7mw+8yGTN2QrlBD1k8BgYQdJqvFHVzljn8BHATtO5KhtW YPCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="Da/e5LMY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si14051316pgn.107.2021.10.05.18.07.19; Tue, 05 Oct 2021 18:07:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="Da/e5LMY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236909AbhJFBIY (ORCPT + 99 others); Tue, 5 Oct 2021 21:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbhJFBIY (ORCPT ); Tue, 5 Oct 2021 21:08:24 -0400 Received: from bombadil.infradead.org (unknown [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 966A5C061749; Tue, 5 Oct 2021 18:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=+vWBHl1EvmMiSu6+JjZhRe8Jw+YmxOZ94aEmbzilIbI=; b=Da/e5LMYCYkiyu2IOmDMfH/+Ne 2hpxm9k3+mI0LypXmrAhfXHwzMLhvWkWaY+mkyHIZXwp1OUDtwx8eH3vCiqgHTMInuvfGLppQ5GNz UhIPLuRTQj0hsokf8xzmhtwtkKODfaErYFd45bZps78IszlkLSUKMIvTsVedDRHbckgrXTTLOdaA9 0K/DrYcroRklJ2+m0XnU3FN8cRmgtp9nhhfOK+hZ2MdBBS3Xuup6cDHWszadlcWrjJFyQSH0bUm+m qZaKz4IQ9HLnF9LnGAAb3PWsWfHoL89W/VtAAtnWJ7fTtf25d5KZO691sakA96RN0ZcxCBMkvPgHs q67bNanQ==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXvO3-00CUaB-3C; Wed, 06 Oct 2021 01:06:23 +0000 Subject: Re: [PATCH 3/5 v3] sh: math-emu: drop unused functions To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , Yoshinori Sato , Rich Felker , Linux-sh list , John Paul Adrian Glaubitz , Geert Uytterhoeven , Takashi YOSHII References: <20211005001914.28574-1-rdunlap@infradead.org> <20211005001914.28574-4-rdunlap@infradead.org> From: Randy Dunlap Message-ID: Date: Tue, 5 Oct 2021 18:06:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/5/21 12:26 AM, Geert Uytterhoeven wrote: > Hi Randy, > > Thanks for your patch! > > On Tue, Oct 5, 2021 at 2:19 AM Randy Dunlap wrote: >> Delete ieee_fpe_handler() since it is not used. After that is done, >> delete denormal_to_double() since it is not used: >> >> ../arch/sh/math-emu/math.c:505:12: error: 'ieee_fpe_handler' defined but not used [-Werror=unused-function] >> 505 | static int ieee_fpe_handler(struct pt_regs *regs) >> >> ../arch/sh/math-emu/math.c:477:13: error: 'denormal_to_double' defined but not used [-Werror=unused-function] >> 477 | static void denormal_to_double(struct sh_fpu_soft_struct *fpu, int n) >> >> Fixes: 4b565680d163 ("sh: math-emu support") > > Shouldn't that be > Fixes: 7caf62de25554da3 ("sh: remove unused do_fpu_error") > ? oh, ah, um. Yes, it should. Thanks! > >> Signed-off-by: Randy Dunlap > > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert > -- ~Randy