diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-11-25 20:21:14 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-12-08 12:06:59 +0100 |
commit | e10abb2f770eeb673d23c19980216b0fb62b4f50 (patch) | |
tree | 1da309be91d2b4cb21a6590e49778f78ebe5e8b5 /Documentation | |
parent | 9f7789f845cc100dd0d94fa1aa083e3373dc03db (diff) |
x86_64/traps: Fix always true condition
We should be checking IS_ERR() here. PTR_ERR() is always true.
Fixes: fe3d197f8431 ('x86, mpx: On-demand kernel allocation of
bounds tables')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Link: http://lkml.kernel.org/r/20141125172114.GA24535@mwanda
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions