summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754sp.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-11-24 22:22:19 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-11-26 18:26:15 +0100
commit8142294dda12d5fd7615eed7986ad0d276793c03 (patch)
tree67576cec1c971db1e29fe5f6ae13a8acb5028d4d /arch/mips/math-emu/ieee754sp.c
parent[MIPS] IP22: Fix broken eeprom access by using __raw_readl/__raw_writel (diff)
downloadlinux-8142294dda12d5fd7615eed7986ad0d276793c03.tar.xz
linux-8142294dda12d5fd7615eed7986ad0d276793c03.zip
[MIPS] Compliment va_start() with va_end().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754sp.c')
-rw-r--r--arch/mips/math-emu/ieee754sp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/math-emu/ieee754sp.c b/arch/mips/math-emu/ieee754sp.c
index adda851cd04f..463534045ab6 100644
--- a/arch/mips/math-emu/ieee754sp.c
+++ b/arch/mips/math-emu/ieee754sp.c
@@ -58,6 +58,7 @@ ieee754sp ieee754sp_xcpt(ieee754sp r, const char *op, ...)
ax.rv.sp = r;
va_start(ax.ap, op);
ieee754_xcpt(&ax);
+ va_end(ax.ap);
return ax.rv.sp;
}
@@ -84,6 +85,7 @@ ieee754sp ieee754sp_nanxcpt(ieee754sp r, const char *op, ...)
ax.rv.sp = r;
va_start(ax.ap, op);
ieee754_xcpt(&ax);
+ va_end(ax.ap);
return ax.rv.sp;
}