To: | Aleksandar Markovic <aleksandar.markovic@mips.com> |
---|---|
Subject: | [PATCH 2/2] MIPS: math-emu: Declare ys variable as possibly unused |
From: | Mathieu Malaterre <malat@debian.org> |
Date: | Tue, 26 Dec 2017 11:45:51 +0100 |
Cc: | Mathieu Malaterre <malat@debian.org>, Ralf Baechle <ralf@linux-mips.org>, Miodrag Dinic <miodrag.dinic@mips.com>, Goran Ferenc <goran.ferenc@imgtec.com>, James Hogan <jhogan@kernel.org>, Douglas Leung <douglas.leung@imgtec.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JEZqptf3+f3w/JipiCucTZ1yEQ6xWVNkg68irIBb8bg=; b=VfWFKrWarbiFxtDWtmJo2fdu6/lthbnwtvqRiugErFhpUoAsvqCOujnGJtH8ViijMn P+Ispcq88eT0VpQ0YMvyRDvBniBT6n85DGPldFykN7m803cHUpOOKEL6NATh05AktjZn JCahZcYXJ64i0i38PjSKRoom2Xk70lEL8Ram+xxF+HdpyKEj9X32/bkyLcqUV3ubIdFr Iz9yFlK75ynIA3GHYV4paEmLAsG0jnCcJ0p+AGGleiXJkTkhQ6SUEl4F8C1njhdVP3dE hyY02qjIgl1ttueyejBG/aLPNqCAVMmPPbK1bxJusXgK0YoIrCdvHT7wHZN+Z/qouo2U H5yg== |
In-reply-to: | <20171226104554.19612-1-malat@debian.org> |
List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
List-owner: | <mailto:ralf@linux-mips.org> |
List-post: | <mailto:linux-mips@linux-mips.org> |
List-software: | Ecartis version 1.0.0 |
List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
Original-recipient: | rfc822;linux-mips@linux-mips.org |
References: | <20171226104554.19612-1-malat@debian.org> |
Sender: | linux-mips-bounce@linux-mips.org |
Fix non-fatal warning: arch/mips/math-emu/sp_fdp.c: In function ‘ieee754sp_fdp’: arch/mips/math-emu/ieee754int.h:60:31: warning: variable ‘ys’ set but not used [-Wunused-but-set-variable] unsigned int ym; int ye; int ys; int yc ^ arch/mips/math-emu/sp_fdp.c:37:2: note: in expansion of macro ‘COMPYSP’ COMPYSP; ^~~~~~~ Signed-off-by: Mathieu Malaterre <malat@debian.org> --- arch/mips/math-emu/ieee754int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h index 06ac0e2ac7ac..cb8f04cd24bf 100644 --- a/arch/mips/math-emu/ieee754int.h +++ b/arch/mips/math-emu/ieee754int.h @@ -57,7 +57,7 @@ static inline int ieee754_class_nan(int xc) unsigned int xm; int xe; int xs __maybe_unused; int xc #define COMPYSP \ - unsigned int ym; int ye; int ys; int yc + unsigned int ym; int ye; int ys __maybe_unused; int yc #define COMPZSP \ unsigned int zm; int ze; int zs; int zc -- 2.11.0 |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [PATCH 1/2] MIPS: math-emu: Do not export function `srl128`, Mathieu Malaterre |
---|---|
Next by Date: | [PATCH] MIPS: Use proper @return keyword, Mathieu Malaterre |
Previous by Thread: | [PATCH 1/2] MIPS: math-emu: Do not export function `srl128`, Mathieu Malaterre |
Next by Thread: | RE: [PATCH 2/2] MIPS: math-emu: Declare ys variable as possibly unused, Aleksandar Markovic |
Indexes: | [Date] [Thread] [Top] [All Lists] |