All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181129124921.GA14550@hmswarspite.think-freely.org>

diff --git a/a/1.txt b/N1/1.txt
index 362297e..f6c3297 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -33,7 +33,7 @@ On Thu, Nov 29, 2018 at 02:42:56PM +0800, Xin Long wrote:
 > +	size_t index = 0;
 > +
 > +	while (count--) {
-> +		if (elem == flex_array_get(fa, index))
+> +		if (elem = flex_array_get(fa, index))
 > +			break;
 > +		index++;
 > +	}
@@ -52,7 +52,7 @@ On Thu, Nov 29, 2018 at 02:42:56PM +0800, Xin Long wrote:
 > +			size_t index = fa_index(stream->out, stream->out_curr,
 > +						stream->outcnt);
 > +
-> +			BUG_ON(index == stream->outcnt);
+> +			BUG_ON(index = stream->outcnt);
 > +			stream->out_curr = flex_array_get(out, index);
 > +		}
 >  		fa_free(stream->out);
diff --git a/a/content_digest b/N1/content_digest
index 0155b20..2c100ad 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,7 +8,7 @@
   "Subject\0Re: [PATCHv2 net] sctp: check and update stream->out_curr when allocating stream_out\0"
 ]
 [
-  "Date\0Thu, 29 Nov 2018 07:49:21 -0500\0"
+  "Date\0Thu, 29 Nov 2018 12:49:21 +0000\0"
 ]
 [
   "To\0Xin Long <lucien.xin\@gmail.com>\0"
@@ -61,7 +61,7 @@
   "> +\tsize_t index = 0;\n",
   "> +\n",
   "> +\twhile (count--) {\n",
-  "> +\t\tif (elem == flex_array_get(fa, index))\n",
+  "> +\t\tif (elem = flex_array_get(fa, index))\n",
   "> +\t\t\tbreak;\n",
   "> +\t\tindex++;\n",
   "> +\t}\n",
@@ -80,7 +80,7 @@
   "> +\t\t\tsize_t index = fa_index(stream->out, stream->out_curr,\n",
   "> +\t\t\t\t\t\tstream->outcnt);\n",
   "> +\n",
-  "> +\t\t\tBUG_ON(index == stream->outcnt);\n",
+  "> +\t\t\tBUG_ON(index = stream->outcnt);\n",
   "> +\t\t\tstream->out_curr = flex_array_get(out, index);\n",
   "> +\t\t}\n",
   ">  \t\tfa_free(stream->out);\n",
@@ -99,4 +99,4 @@
   "Neil"
 ]
 
-9aa01afd3f2244a8f79b2118d856aab0fa9e8d731d9f2686e253694b6e4a6e1c
+dd3fc8084c27ecf961f0b4a8239b2a852b02ffaddcd6ade66664d61fafd49d7a

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.