Messages in this thread | | | Subject | Re: [BUG] futex_handle_fault always fails. | From | Mike Galbraith <> | Date | Tue, 08 Aug 2006 08:38:32 +0000 |
| |
On Mon, 2006-08-07 at 14:39 -0700, john stultz wrote: > The following patch addresses these two issues by 1) Always setting ret > to -EFAULT if futex_handle_fault fails, and 2) Removing the = in > futex_handle_fault's (attempt >= 2) check.
Nit: why not use the return value directly instead of translating that return (-EFAULT) into -EFAULT?
-Mike
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |