Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4337746pxb; Tue, 5 Oct 2021 00:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJIpFeiMYBzgxzVi9emlFDpHPwvsudUB+I4czPwMj0OtnT9L7FvgTaXq7o6892OqPsefgB X-Received: by 2002:a62:be19:0:b0:44b:e800:14 with SMTP id l25-20020a62be19000000b0044be8000014mr29523133pff.56.1633418907366; Tue, 05 Oct 2021 00:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633418907; cv=none; d=google.com; s=arc-20160816; b=nciIm23AywJCqX3fzdtX4OJwF5Hn9N+2g4IlCHs9ffW56IRBrksCKqX1mdSd1jvu9t chcVOYZRrNg0hC0aqZOKtmQZJ4ixN2s8JbjfGw9u8E2V+0VD5vX7lya8LNfyBiQXHIBH zelQTaFfva1fovSvZjFKCETsYWYkNsdAedgGMuhfbBvwoAeJ6MOB1HxDeGcbLfFFeZd4 EDBScMuLiwGrKh9nxfgHXKHleqHi6mu7H47+6TsYPpOez59sqiaaW/irIkMMIVfU/5L5 +TaBhC6nR40EAYWPsGbteU2IoEmfmcu16kw8QVS9TwGQ/5SFXd5AkqXhnKYsAEjDnvWB ZJRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=5B8guYb5WtEG1DfSQkNHuh8hV3bBqGM6XN/MlDSJq6g=; b=KMfNxrIB4bpQ80iDgQt/vDMyOsIheIlx6Uv5m3NvukmrXiPQNxdrXrr7ejWpS148nS ai/rPCjXhYwail6lv6qgAB/+plEFilbewChD1KZcHffyLqSYnwJyJZ6+mwGaiq+g+6aY 3UK3itK6s8/5fUBd2FTrayctvHIgLjpKOUnJL5MbC0lXMvy+6KFCBXlu1Tk11HhC4Wz7 wNFXlzTHepyd5fRz17m1Ehn1kLVMS6rE7zycU9CpCJR7x3otYHTEq4jbHfGSxO6kgwwH MpKlDPU2Em3/V2AazFOib9oZ2fN1Y2jFH/FjbvQ7EN4tIwmWXVbdy7iXrhQo1aOmzhod 74Jg== ARC-Authentication-Results: i=1; mx.google.com; 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 q7si21241977pgv.236.2021.10.05.00.28.14; Tue, 05 Oct 2021 00:28:27 -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; 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 S232471AbhJEH2M (ORCPT + 99 others); Tue, 5 Oct 2021 03:28:12 -0400 Received: from mail-ua1-f49.google.com ([209.85.222.49]:35684 "EHLO mail-ua1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232365AbhJEH2L (ORCPT ); Tue, 5 Oct 2021 03:28:11 -0400 Received: by mail-ua1-f49.google.com with SMTP id q13so2150336uaq.2; Tue, 05 Oct 2021 00:26:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5B8guYb5WtEG1DfSQkNHuh8hV3bBqGM6XN/MlDSJq6g=; b=Wo3h2a1j3ucRsdu8bnoUcvVumzVyNDaqP2LqUhAWgRFHap/ZmpkRVvY2ceXyVvENBC eYVCgfV33oT4TTjWKXPw4LYpdNxxXCMEwIbrzprXNOOsoNvVdjZzCFO2ZBOkJmtigv3R cYpBUH+2NRURvNDvM4+NjWIn5YYFmO3vWvnS1elIf6upl/mrSfARtmx5ONTwuqKXhsnu 1dM+qBL6qbda1wEplISZFQHjXkpLBP0XS1Rg3UPORrzPJVBQLIapKsaxd/O+Lyx1STi1 +fRNXBAHu+OvVdfir6tBPcQR71wCqKGaMKje+gMbj3B8K//lGtXKA6434rEnS0JvqGKT S82g== X-Gm-Message-State: AOAM530ELi83pr4qRWlA3sx4kUD0vvSicHbccMXlFhoNhmOSHJ0svlfy ghH8vyvp9HzdZWqIr8AguCiLNjl+405iCSoJfUE= X-Received: by 2002:ab0:540d:: with SMTP id n13mr10811903uaa.78.1633418777896; Tue, 05 Oct 2021 00:26:17 -0700 (PDT) MIME-Version: 1.0 References: <20211005001914.28574-1-rdunlap@infradead.org> <20211005001914.28574-4-rdunlap@infradead.org> In-Reply-To: <20211005001914.28574-4-rdunlap@infradead.org> From: Geert Uytterhoeven Date: Tue, 5 Oct 2021 09:26:06 +0200 Message-ID: Subject: Re: [PATCH 3/5 v3] sh: math-emu: drop unused functions To: Randy Dunlap Cc: Linux Kernel Mailing List , Yoshinori Sato , Rich Felker , Linux-sh list , John Paul Adrian Glaubitz , Geert Uytterhoeven , Takashi YOSHII Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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") ? > Signed-off-by: Randy Dunlap Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds