All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1285491595-377-1-git-send-email-segooon@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 437fca0..ec6e39c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -25,11 +25,11 @@ index 51ed0dd..3130843 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 088347b..77dc1b5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Vasiliy Kulikov <segooon@gmail.com>\0"
  "Subject\0[PATCH] staging: ft1000: fix error path\0"
- "Date\0Sun, 26 Sep 2010 08:59:55 +0000\0"
+ "Date\0Sun, 26 Sep 2010 12:59:55 +0400\0"
  "To\0kernel-janitors@vger.kernel.org\0"
  "Cc\0Greg Kroah-Hartman <gregkh@suse.de>"
   Marek Belisko <marek.belisko@gmail.com>
@@ -35,11 +35,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        goto 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"
@@ -73,4 +73,4 @@
  "-- \n"
  1.7.0.4
 
-47e0b16742a40932d58703a4e7f1834ad2b8edcc858e84af76b22df9cf74f9f0
+6a472d156d5a8e9688901d81606bfaba9d61850e4c4dde0d991a22b765641809

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.