diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-12-06 20:14:00 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:00 -0500 |
commit | d606f88fa5e529e9dc72be97e79db1e36a6261cb (patch) | |
tree | 1c0acf5be3b8e90690cdffc71ce801e6696dc0d1 /arch/i386/math-emu/fpu_entry.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/fpu_entry.c')
-rw-r--r-- | arch/i386/math-emu/fpu_entry.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/math-emu/fpu_entry.c b/arch/i386/math-emu/fpu_entry.c index d93f16ef828f..ddf8fa3bbd01 100644 --- a/arch/i386/math-emu/fpu_entry.c +++ b/arch/i386/math-emu/fpu_entry.c | |||
@@ -742,7 +742,8 @@ int save_i387_soft(void *s387, struct _fpstate __user * buf) | |||
742 | S387->fcs &= ~0xf8000000; | 742 | S387->fcs &= ~0xf8000000; |
743 | S387->fos |= 0xffff0000; | 743 | S387->fos |= 0xffff0000; |
744 | #endif /* PECULIAR_486 */ | 744 | #endif /* PECULIAR_486 */ |
745 | __copy_to_user(d, &S387->cwd, 7*4); | 745 | if (__copy_to_user(d, &S387->cwd, 7*4)) |
746 | return -1; | ||
746 | RE_ENTRANT_CHECK_ON; | 747 | RE_ENTRANT_CHECK_ON; |
747 | 748 | ||
748 | d += 7*4; | 749 | d += 7*4; |