All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20150916062251.GD21542@mwanda>

diff --git a/a/1.txt b/N1/1.txt
index 0f65fd8..3b93e91 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -10,7 +10,7 @@ index 654eafe..aa58e59 100644
  	if (sleep_ok) {
  		mutex_lock(&ppd->hls_lock);
  	} else {
--		while (mutex_trylock(&ppd->hls_lock) = EBUSY)
+-		while (mutex_trylock(&ppd->hls_lock) == EBUSY)
 +		while (!mutex_trylock(&ppd->hls_lock))
  			udelay(1);
  	}
@@ -19,7 +19,7 @@ index 654eafe..aa58e59 100644
  	if (sleep_ok) {
  		mutex_lock(&dd->pport->hls_lock);
  	} else {
--		while (mutex_trylock(&dd->pport->hls_lock) = EBUSY)
+-		while (mutex_trylock(&dd->pport->hls_lock) == EBUSY)
 +		while (!mutex_trylock(&dd->pport->hls_lock))
  			udelay(1);
  	}
diff --git a/a/content_digest b/N1/content_digest
index 3978448..3a467bb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch] IB/hfi1: fix a locking bug\0"
- "Date\0Wed, 16 Sep 2015 06:22:51 +0000\0"
+ "Date\0Wed, 16 Sep 2015 09:22:51 +0300\0"
  "To\0Mike Marciniszyn <infinipath@intel.com>\0"
  "Cc\0devel@driverdev.osuosl.org"
   linux-rdma@vger.kernel.org
@@ -23,7 +23,7 @@
  " \tif (sleep_ok) {\n"
  " \t\tmutex_lock(&ppd->hls_lock);\n"
  " \t} else {\n"
- "-\t\twhile (mutex_trylock(&ppd->hls_lock) = EBUSY)\n"
+ "-\t\twhile (mutex_trylock(&ppd->hls_lock) == EBUSY)\n"
  "+\t\twhile (!mutex_trylock(&ppd->hls_lock))\n"
  " \t\t\tudelay(1);\n"
  " \t}\n"
@@ -32,9 +32,9 @@
  " \tif (sleep_ok) {\n"
  " \t\tmutex_lock(&dd->pport->hls_lock);\n"
  " \t} else {\n"
- "-\t\twhile (mutex_trylock(&dd->pport->hls_lock) = EBUSY)\n"
+ "-\t\twhile (mutex_trylock(&dd->pport->hls_lock) == EBUSY)\n"
  "+\t\twhile (!mutex_trylock(&dd->pport->hls_lock))\n"
  " \t\t\tudelay(1);\n"
  " \t}"
 
-6c711f458501d252712a6c740fad2efd814233a64df8579a4bff71e0deb93214
+c1d091a68f420ae1a2e02ca205f2503b372ed17a915aecb71682aee70131b4ab

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.