- posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep fix

has been removed from the -mm tree.  Its filename is

     posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep-fix.patch

This patch was dropped because an updated version was merged

------------------------------------------------------
Subject: posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep fix
From: Frederik Deweerdt <deweerdt@xxxxxxx>

posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep.patch uses
'=' instead of '=='.

Cc: Toyo Abe <toyoa@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Roland McGrath <roland@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/posix-cpu-timers.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN kernel/posix-cpu-timers.c~posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep-fix kernel/posix-cpu-timers.c
--- a/kernel/posix-cpu-timers.c~posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep-fix
+++ a/kernel/posix-cpu-timers.c
@@ -1477,7 +1477,7 @@ int posix_cpu_nsleep(const clockid_t whi
 
 	error = do_cpu_nanosleep(which_clock, flags, rqtp, &it);
 
-	if (error = -ERESTART_RESTARTBLOCK) {
+	if (error == -ERESTART_RESTARTBLOCK) {
 
 	       	if (flags & TIMER_ABSTIME)
 			return -ERESTARTNOHAND;
@@ -1511,7 +1511,7 @@ long posix_cpu_nsleep_restart(struct res
 	restart_block->fn = do_no_restart_syscall;
 	error = do_cpu_nanosleep(which_clock, TIMER_ABSTIME, &t, &it);
 
-	if (error = -ERESTART_RESTARTBLOCK) {
+	if (error == -ERESTART_RESTARTBLOCK) {
 		/*
 	 	 * Report back to the user the time still remaining.
 	 	 */
_

Patches currently in -mm which might be from deweerdt@xxxxxxx are

bluetooth-use-gfp_atomic-in-_sock_creates-sk_alloc.patch
posix-timers-fix-the-flags-handling-in-posix_cpu_nsleep-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux