diff for duplicates of <20120209104934.GC5540@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index f6d01e3..fa16fc7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -42,7 +42,7 @@ index a27c601..ab753d7 100644 flash_part = bnad_get_flash_partition_by_offset(bnad, eeprom->offset, &base_offset); - if (flash_part <= 0) -+ if (flash_part = 0) ++ if (flash_part == 0) return -EFAULT; fcomp.bnad = bnad; @@ -51,7 +51,7 @@ index a27c601..ab753d7 100644 flash_part = bnad_get_flash_partition_by_offset(bnad, eeprom->offset, &base_offset); - if (flash_part <= 0) -+ if (flash_part = 0) ++ if (flash_part == 0) return -EFAULT; fcomp.bnad = bnad; diff --git a/a/content_digest b/N1/content_digest index 6df0349..6e3d87d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] bna: fix error handling of bnad_get_flash_partition_by_offset()\0" - "Date\0Thu, 09 Feb 2012 10:49:34 +0000\0" + "Date\0Thu, 9 Feb 2012 13:49:34 +0300\0" "To\0Rasesh Mody <rmody@brocade.com>\0" "Cc\0netdev@vger.kernel.org" " kernel-janitors@vger.kernel.org\0" @@ -50,7 +50,7 @@ " \tflash_part = bnad_get_flash_partition_by_offset(bnad,\n" " \t\t\t\teeprom->offset, &base_offset);\n" "-\tif (flash_part <= 0)\n" - "+\tif (flash_part = 0)\n" + "+\tif (flash_part == 0)\n" " \t\treturn -EFAULT;\n" " \n" " \tfcomp.bnad = bnad;\n" @@ -59,9 +59,9 @@ " \tflash_part = bnad_get_flash_partition_by_offset(bnad,\n" " \t\t\t\teeprom->offset, &base_offset);\n" "-\tif (flash_part <= 0)\n" - "+\tif (flash_part = 0)\n" + "+\tif (flash_part == 0)\n" " \t\treturn -EFAULT;\n" " \n" " \tfcomp.bnad = bnad;" -39a0699ee27fd7b0c0ca180e256f0104a032945f813c2f7653002e9ce94e3dcb +044ccf087c4e4eb1ccc81edaa256877ec9ac5d4ed15b4402e323baae684e361c
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.