lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BUG] futex_handle_fault always fails.
From
Date
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/

\
 
 \ /
  Last update: 2006-08-08 08:35    [W:0.048 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site