diff for duplicates of <11123113893610@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 64b7538..3857fc8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -28,14 +28,14 @@ diff -Nru a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c @@ -118,14 +118,15 @@ spin_lock_irqsave(&lock, flags); - if (pcf_pending = 0) { + if (pcf_pending == 0) { spin_unlock_irqrestore(&lock, flags); - if (interruptible_sleep_on_timeout(&pcf_wait, - timeout*HZ)) { + prepare_to_wait(&pcf_wait, &wait, TASK_INTERRUPTIBLE); + if (schedule_timeout(timeout*HZ)) { spin_lock_irqsave(&lock, flags); - if (pcf_pending = 1) { + if (pcf_pending == 1) { pcf_pending = 0; } spin_unlock_irqrestore(&lock, flags); diff --git a/a/content_digest b/N1/content_digest index ff47c83..d227f78 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\011123113891852@kroah.com\0" - "From\0gregkh@suse.de (Greg KH)\0" - "Subject\0[PATCH] i2c/i2c-elektor: remove interruptible_sleep_on_timeout()\0" - "Date\0Thu, 19 May 2005 06:25:47 +0000\0" + "From\0Greg KH <gregkh@suse.de>\0" + "Subject\0[PATCH] i2c/i2c-elektor: remove interruptible_sleep_on_timeout() usage\0" + "Date\0Thu, 31 Mar 2005 15:23:09 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "Cc\0domen@coderock.org\0" @@ -37,14 +37,14 @@ " \n" "@@ -118,14 +118,15 @@\n" " \t\tspin_lock_irqsave(&lock, flags);\n" - " \t\tif (pcf_pending = 0) {\n" + " \t\tif (pcf_pending == 0) {\n" " \t\t\tspin_unlock_irqrestore(&lock, flags);\n" "-\t\t\tif (interruptible_sleep_on_timeout(&pcf_wait,\n" "-\t\t\t\t\t\t\t\ttimeout*HZ)) {\n" "+\t\t\tprepare_to_wait(&pcf_wait, &wait, TASK_INTERRUPTIBLE);\n" "+\t\t\tif (schedule_timeout(timeout*HZ)) {\n" " \t\t\t\tspin_lock_irqsave(&lock, flags);\n" - " \t\t\t\tif (pcf_pending = 1) {\n" + " \t\t\t\tif (pcf_pending == 1) {\n" " \t\t\t\t\tpcf_pending = 0;\n" " \t\t\t\t}\n" " \t\t\t\tspin_unlock_irqrestore(&lock, flags);\n" @@ -54,4 +54,4 @@ " \t\t\tpcf_pending = 0;\n" " \t\t\tspin_unlock_irqrestore(&lock, flags);" -9e38616561fdb59c922aa3074d70ab5d2af43eba97036d8c512dac86418c9cec +c53172ca340d10e87f1ef1b2898b0af9c83ee23aa2f831e0c924151ec9a61a46
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.