diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-12-07 02:14:00 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:00 +0100 |
commit | d606f88fa5e529e9dc72be97e79db1e36a6261cb (patch) | |
tree | 1c0acf5be3b8e90690cdffc71ce801e6696dc0d1 /arch/i386/math-emu/load_store.c | |
parent | dd315df1767cf56bd4fb8d730fdff4a3d7e15d84 (diff) |
[PATCH] i386: fix must_checks
Fix __must_check warnings in i386/math-emu.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/math-emu/load_store.c')
-rw-r--r-- | arch/i386/math-emu/load_store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/math-emu/load_store.c b/arch/i386/math-emu/load_store.c index 85314be2fef..eebd6fb1c8a 100644 --- a/arch/i386/math-emu/load_store.c +++ b/arch/i386/math-emu/load_store.c @@ -227,6 +227,8 @@ int FPU_load_store(u_char type, fpu_addr_modes addr_modes, case 027: /* fild m64int */ clear_C1(); loaded_tag = FPU_load_int64((long long __user *)data_address); + if (loaded_tag == TAG_Error) + return 0; FPU_settag0(loaded_tag); break; case 030: /* fstenv m14/28byte */ |