diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-18 09:32:36 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-18 09:32:44 +0100 |
commit | 760a52e80fdf018a9f83a499427923e18e3bd582 (patch) | |
tree | b37743abb28d9109ce6278b8a896712e713bb25a /include/linux/wait.h | |
parent | 0395442ad25853f50d515f4dc00e3475b0df920d (diff) | |
parent | 47b6308b643302e642ca2a5cb6470926f7e1c428 (diff) | |
download | linux-760a52e80fdf018a9f83a499427923e18e3bd582.tar.gz linux-760a52e80fdf018a9f83a499427923e18e3bd582.tar.bz2 linux-760a52e80fdf018a9f83a499427923e18e3bd582.zip |
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
This brings in some mwifiex changes that further patches will
need to work on top to not cause merge conflicts.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r-- | include/linux/wait.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h index 80115bf88671..e4a8eb9312ea 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -281,9 +281,11 @@ do { \ * wake_up() has to be called after changing any variable that could * change the result of the wait condition. * - * The function returns 0 if the @timeout elapsed, or the remaining - * jiffies (at least 1) if the @condition evaluated to %true before - * the @timeout elapsed. + * Returns: + * 0 if the @condition evaluated to %false after the @timeout elapsed, + * 1 if the @condition evaluated to %true after the @timeout elapsed, + * or the remaining jiffies (at least 1) if the @condition evaluated + * to %true before the @timeout elapsed. */ #define wait_event_timeout(wq, condition, timeout) \ ({ \ @@ -364,9 +366,11 @@ do { \ * change the result of the wait condition. * * Returns: - * 0 if the @timeout elapsed, -%ERESTARTSYS if it was interrupted by - * a signal, or the remaining jiffies (at least 1) if the @condition - * evaluated to %true before the @timeout elapsed. + * 0 if the @condition evaluated to %false after the @timeout elapsed, + * 1 if the @condition evaluated to %true after the @timeout elapsed, + * the remaining jiffies (at least 1) if the @condition evaluated + * to %true before the @timeout elapsed, or -%ERESTARTSYS if it was + * interrupted by a signal. */ #define wait_event_interruptible_timeout(wq, condition, timeout) \ ({ \ |