]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb87e864dd3f9ea98b2a5ed989bfe6ad0d8dcff52
treebbe8da5a22bfa90702819817de80ac8548d62bb7
parent76066219c1aa9865e8fc88181b8dc2f6356df9ce
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: 634ec540bf46 ("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