All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100524162815.GA22515@bicker>

diff --git a/a/1.txt b/N1/1.txt
index 3b546d1..4d1f493 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -23,17 +23,17 @@ index df43f26..7c81974 100644
  	caif_assert(phyid != 0);
  	phyinfo = &cnfg->phy_layers[phyid];
 -	caif_assert(phyinfo != NULL);
- 	caif_assert(phyinfo->id = phyid);
+ 	caif_assert(phyinfo->id == phyid);
  	caif_assert(phyinfo->phy_layer != NULL);
- 	caif_assert(phyinfo->phy_layer->id = phyid);
+ 	caif_assert(phyinfo->phy_layer->id == phyid);
  
 -	if (phyinfo != NULL &&
--	    phyinfo->phy_ref_count++ = 0 &&
+-	    phyinfo->phy_ref_count++ == 0 &&
 -	    phyinfo->phy_layer != NULL &&
 +	phyinfo->phy_ref_count++;
-+	if (phyinfo->phy_ref_count = 1 &&
++	if (phyinfo->phy_ref_count == 1 &&
  	    phyinfo->phy_layer->modemcmd != NULL) {
--		caif_assert(phyinfo->phy_layer->id = phyid);
+-		caif_assert(phyinfo->phy_layer->id == phyid);
  		phyinfo->phy_layer->modemcmd(phyinfo->phy_layer,
  					     _CAIF_MODEMCMD_PHYIF_USEFULL);
 -
diff --git a/a/content_digest b/N1/content_digest
index 8c1424e..021ee8a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\04BF8E6FE.9000303@bfs.de\0"
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch v2] caif: cleanup: remove duplicate checks\0"
- "Date\0Mon, 24 May 2010 16:29:34 +0000\0"
+ "Date\0Mon, 24 May 2010 18:29:34 +0200\0"
  "To\0walter harms <wharms@bfs.de>\0"
  "Cc\0netdev@vger.kernel.org"
   Sjur Braendeland <sjur.brandeland@stericsson.com>
@@ -36,21 +36,21 @@
  " \tcaif_assert(phyid != 0);\n"
  " \tphyinfo = &cnfg->phy_layers[phyid];\n"
  "-\tcaif_assert(phyinfo != NULL);\n"
- " \tcaif_assert(phyinfo->id = phyid);\n"
+ " \tcaif_assert(phyinfo->id == phyid);\n"
  " \tcaif_assert(phyinfo->phy_layer != NULL);\n"
- " \tcaif_assert(phyinfo->phy_layer->id = phyid);\n"
+ " \tcaif_assert(phyinfo->phy_layer->id == phyid);\n"
  " \n"
  "-\tif (phyinfo != NULL &&\n"
- "-\t    phyinfo->phy_ref_count++ = 0 &&\n"
+ "-\t    phyinfo->phy_ref_count++ == 0 &&\n"
  "-\t    phyinfo->phy_layer != NULL &&\n"
  "+\tphyinfo->phy_ref_count++;\n"
- "+\tif (phyinfo->phy_ref_count = 1 &&\n"
+ "+\tif (phyinfo->phy_ref_count == 1 &&\n"
  " \t    phyinfo->phy_layer->modemcmd != NULL) {\n"
- "-\t\tcaif_assert(phyinfo->phy_layer->id = phyid);\n"
+ "-\t\tcaif_assert(phyinfo->phy_layer->id == phyid);\n"
  " \t\tphyinfo->phy_layer->modemcmd(phyinfo->phy_layer,\n"
  " \t\t\t\t\t     _CAIF_MODEMCMD_PHYIF_USEFULL);\n"
  "-\n"
  " \t}\n"
  " \tadapt_layer->id = channel_id;"
 
-2c319b3c954f886c23bf902bb15e478e6a4a919bf859e0df8db78b4cd939763e
+fd5af2e7fc699adbc31420465e7651ab287451048cd40b5338fee4426af5a597

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.