|
@@ -323,7 +323,7 @@ dotraplinkage void do_bounds(struct pt_regs *regs, long error_code)
|
|
break; /* Success, it was handled */
|
|
break; /* Success, it was handled */
|
|
case 1: /* Bound violation. */
|
|
case 1: /* Bound violation. */
|
|
info = mpx_generate_siginfo(regs, xsave_buf);
|
|
info = mpx_generate_siginfo(regs, xsave_buf);
|
|
- if (PTR_ERR(info)) {
|
|
|
|
|
|
+ if (IS_ERR(info)) {
|
|
/*
|
|
/*
|
|
* We failed to decode the MPX instruction. Act as if
|
|
* We failed to decode the MPX instruction. Act as if
|
|
* the exception was not caused by MPX.
|
|
* the exception was not caused by MPX.
|