All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20140604145407.GD6970@beardog.cce.hp.com>

diff --git a/a/1.txt b/N1/1.txt
index a6c9922..f0c38f1 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -17,8 +17,9 @@ On Wed, Jun 04, 2014 at 11:07:56AM +0200, Julia Lawall wrote:
 > e1 = find_first_zero_bit(e2,e3)
 > ...
 > if (e1 
-> - =
-> + >>   e3)
+> - ==
+> + >=
+>   e3)
 > S1 else S2
 > // </smpl>
 > 
@@ -35,7 +36,7 @@ On Wed, Jun 04, 2014 at 11:07:56AM +0200, Julia Lawall wrote:
 >  	spin_lock_irqsave(&h->lock, flags);
 >  	do {
 >  		i = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds);
-> -		if (i = h->nr_cmds) {
+> -		if (i == h->nr_cmds) {
 > +		if (i >= h->nr_cmds) {
 >  			spin_unlock_irqrestore(&h->lock, flags);
 >  			return NULL;
diff --git a/a/content_digest b/N1/content_digest
index 96054e0..03fb046 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\01401872880-23685-7-git-send-email-Julia.Lawall@lip6.fr\0"
  "From\0scameron@beardog.cce.hp.com\0"
  "Subject\0Re: [PATCH 6/10] hpsa: use safer test on the result of find_first_zero_bit\0"
- "Date\0Wed, 04 Jun 2014 14:54:07 +0000\0"
+ "Date\0Wed, 4 Jun 2014 09:54:07 -0500\0"
  "To\0Julia Lawall <Julia.Lawall@lip6.fr>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   James E.J. Bottomley <JBottomley@parallels.com>
@@ -31,8 +31,9 @@
  "> e1 = find_first_zero_bit(e2,e3)\n"
  "> ...\n"
  "> if (e1 \n"
- "> - =\n"
- "> + >>   e3)\n"
+ "> - ==\n"
+ "> + >=\n"
+ ">   e3)\n"
  "> S1 else S2\n"
  "> // </smpl>\n"
  "> \n"
@@ -49,7 +50,7 @@
  ">  \tspin_lock_irqsave(&h->lock, flags);\n"
  ">  \tdo {\n"
  ">  \t\ti = find_first_zero_bit(h->cmd_pool_bits, h->nr_cmds);\n"
- "> -\t\tif (i = h->nr_cmds) {\n"
+ "> -\t\tif (i == h->nr_cmds) {\n"
  "> +\t\tif (i >= h->nr_cmds) {\n"
  ">  \t\t\tspin_unlock_irqrestore(&h->lock, flags);\n"
  ">  \t\t\treturn NULL;\n"
@@ -67,4 +68,4 @@
  "\n"
  -- steve
 
-b5ee3773dae85c087ee3830acd8a296a51c030b17e43f2af40d720ee80bec194
+e51808132c0c8e4e7787632b0298cff900536a6a1124588b8d69e1776c09db1a

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.