diff for duplicates of <5D553585.2020907@bfs.de> diff --git a/a/1.txt b/N1/1.txt index 43d9fa7..bd81d61 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,7 +29,7 @@ Am 15.08.2019 10:32, schrieb Dan Carpenter: Bonuspoints to make this more readable: - if (ret=0 || ret > len) + if (ret==0 || ret > len) return -EIO; that makes the intention more obvious. @@ -40,3 +40,7 @@ JM2C, > > buf += ret; > addr += ret; + +______________________________________________________ +Linux MTD discussion mailing list +http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/a/content_digest b/N1/content_digest index a6482ed..f60eb6a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190815083252.GD27238@mwanda\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH] mtd: spi-nor: Fix an error code in spi_nor_read_raw()\0" - "Date\0Thu, 15 Aug 2019 10:35:49 +0000\0" + "Date\0Thu, 15 Aug 2019 12:35:49 +0200\0" "To\0kernel-janitors@vger.kernel.org\0" "Cc\0Vignesh Raghavendra <vigneshr@ti.com>" Tudor Ambarus <tudor.ambarus@microchip.com> @@ -46,7 +46,7 @@ "\n" "Bonuspoints to make this more readable:\n" "\n" - "\tif (ret=0 || ret > len)\n" + "\tif (ret==0 || ret > len)\n" "\t\treturn -EIO;\n" "\n" "that makes the intention more obvious.\n" @@ -56,6 +56,10 @@ "\n" "> \n" "> \t\tbuf += ret;\n" - "> \t\taddr += ret;" + "> \t\taddr += ret;\n" + "\n" + "______________________________________________________\n" + "Linux MTD discussion mailing list\n" + http://lists.infradead.org/mailman/listinfo/linux-mtd/ -4f6d893380b1280dfce7def74bee62e05a81bfff1e86d14b4036ddc2ee871262 +faa12c23d92a71bb49f37643aea5a6e5b82a840c8ef6a374aa1b86fecd1d9543
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.