arch/i386/math-emu/* - compile warning
PATCH 1/21 arch/i386/math-emu/* - compile warning
Description: compile warning cleanup - handle copy_to/from_user error returns
Signed-off-by Stephen Biggs <[email protected]>
arch/i386/math-emu/fpu_entry.c +2 -1
@@ -742,7 +742,8 @@ int save_i387_soft(void *s387, struct _fS387 ->fcs &= ~0xf8000000 ;S387 ->fos |=0xffff0000 ;#endif /* PECULIAR_486 */ -__copy_to_user (d, &S387 ->cwd,7 *4 ); +if (__copy_to_user (d, &S387 ->cwd,7 *4 )) +return -1 ;RE_ENTRANT_CHECK_ON ; d +=7 *4 ;
arch/i386/math-emu/reg_ld_str.c +42 -10
128 lines not on this page · raw message
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors