All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20101003175845.GA24834@albatros>

diff --git a/a/1.txt b/N1/1.txt
index 4174fc2..9ffedf7 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -33,11 +33,11 @@ index 51ed0dd..8609add 100644
          for (i=0; i<NUM_OF_FREE_BUFFERS; i++) {
              // Get memory for DPRAM_DATA link list
              pdpram_blk = kmalloc ( sizeof(DPRAM_BLK), GFP_KERNEL );
-+	    if (pdpram_blk = NULL)
++	    if (pdpram_blk == NULL)
 +		goto err_free;
              // Get a block of memory to store command data
              pdpram_blk->pbuffer = kmalloc ( MAX_CMD_SQSIZE, GFP_KERNEL );
-+	    if (pdpram_blk->pbuffer = NULL) {
++	    if (pdpram_blk->pbuffer == NULL) {
 +		kfree(pdpram_blk);
 +		goto err_free;
 +	    }
diff --git a/a/content_digest b/N1/content_digest
index 0f51fbc..6768eb0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020100926131151.GC6134@bicker\0"
  "From\0Vasiliy Kulikov <segooon@gmail.com>\0"
  "Subject\0[PATCH v2] staging: ft1000: fix error path\0"
- "Date\0Sun, 03 Oct 2010 17:58:46 +0000\0"
+ "Date\0Sun, 3 Oct 2010 21:58:46 +0400\0"
  "To\0Dan Carpenter <error27@gmail.com>"
   kernel-janitors@vger.kernel.org
   Greg Kroah-Hartman <gregkh@suse.de>
@@ -46,11 +46,11 @@
  "         for (i=0; i<NUM_OF_FREE_BUFFERS; i++) {\n"
  "             // Get memory for DPRAM_DATA link list\n"
  "             pdpram_blk = kmalloc ( sizeof(DPRAM_BLK), GFP_KERNEL );\n"
- "+\t    if (pdpram_blk = NULL)\n"
+ "+\t    if (pdpram_blk == NULL)\n"
  "+\t\tgoto err_free;\n"
  "             // Get a block of memory to store command data\n"
  "             pdpram_blk->pbuffer = kmalloc ( MAX_CMD_SQSIZE, GFP_KERNEL );\n"
- "+\t    if (pdpram_blk->pbuffer = NULL) {\n"
+ "+\t    if (pdpram_blk->pbuffer == NULL) {\n"
  "+\t\tkfree(pdpram_blk);\n"
  "+\t\tgoto err_free;\n"
  "+\t    }\n"
@@ -86,4 +86,4 @@
  "-- \n"
  1.7.0.4
 
-5b418c831ffd39780f5b0a445aaaeb9fd106d356df4a9424ad2a593556efb81c
+6bcaa3ac151a9ff62f8cce805c3d3e43bbd29f5cd6204ce4cb8c124281de4e56

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.