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

diff --git a/a/1.txt b/N1/1.txt
index 55faf77..f54cc70 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,8 +22,9 @@ On Wed, Jun 04, 2014 at 05:06:44PM +0200, Julia Lawall wrote:
 > > > e1 = find_first_zero_bit(e2,e3)
 > > > ...
 > > > if (e1
-> > > - =
-> > > + >> > >   e3)
+> > > - ==
+> > > + >=
+> > >   e3)
 > > > S1 else S2
 > > > // </smpl>
 > > >
@@ -40,7 +41,7 @@ On Wed, Jun 04, 2014 at 05:06:44PM +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 bbbb577..2af0591 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\0alpine.DEB.2.10.1406041706050.2441@hadrien\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 15:14:10 +0000\0"
+ "Date\0Wed, 4 Jun 2014 10:14:10 -0500\0"
  "To\0Julia Lawall <julia.lawall@lip6.fr>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   James E.J. Bottomley <JBottomley@parallels.com>
@@ -38,8 +38,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"
@@ -56,7 +57,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"
@@ -82,4 +83,4 @@
  "\n"
  -- steve
 
-d3e2613a39acdfe18b5aa777b00ac60a4a20f6986cc56dade1e60e7fd567369c
+6b6f3ff3f2d8342d179580ac9af8e9c2e30937d9e5536064781b09d4c7c88800

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.