um: Fix pointer cast
authorMickaël Salaün <mic@digikod.net>
Tue, 22 Dec 2015 20:44:01 +0000 (21:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Dec 2015 23:31:51 +0000 (15:31 -0800)
commitde3793796f78e293cc0873744a75588c99ed2fdd
treebbe8da5a22bfa90702819817de80ac8548d62bb7
parent4ef7675344d687a0ef5b0d7c0cee12da005870c0
um: Fix pointer cast

Fix a pointer cast typo introduced in v4.4-rc5 especially visible for
the i386 subarchitecture where it results in a kernel crash.

[ Also removed pointless cast as per Al Viro - Linus ]

Fixes: 8090bfd2bb9a ("um: Fix fpstate handling")
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Jeff Dike <jdike@addtoit.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/um/signal.c