All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <48FC3EA8.6000205@renesas.com>

diff --git a/a/1.txt b/N1/1.txt
index 99d447f..c412582 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -306,7 +306,7 @@ index 600a76f..821acb0 100644
 +		}
 +		if (flctl->hwecc) {
 +			/* write page with hwecc */
-+			if (flctl->seqin_column == mtd->writesize)
++			if (flctl->seqin_column = mtd->writesize)
 +				execmd_write_oob(mtd);
 +			else if (!flctl->seqin_column)
 +				execmd_write_page_sector(mtd);
@@ -422,7 +422,7 @@ index 600a76f..821acb0 100644
 +	struct sh_flctl *flctl = mtd_to_flctl(mtd);
 +	struct nand_chip *chip = &flctl->chip;
 +
-+	if (mtd->writesize == 512) {
++	if (mtd->writesize = 512) {
 +		flctl->page_size = 0;
 +		if (chip->chipsize > (32 << 20)) {
 +			/* big than 32MB */
@@ -453,7 +453,7 @@ index 600a76f..821acb0 100644
 +	}
 +
 +	if (flctl->hwecc) {
-+		if (mtd->writesize == 512) {
++		if (mtd->writesize = 512) {
 +			chip->ecc.layout = &flctl_4secc_oob_16;
 +			chip->badblock_pattern = &flctl_4secc_smallpage;
 +		} else {
@@ -487,7 +487,7 @@ index 600a76f..821acb0 100644
 +	int ret;
 +
 +	pdata = pdev->dev.platform_data;
-+	if (pdata == NULL) {
++	if (pdata = NULL) {
 +		printk(KERN_ERR "sh_flctl platform_data not found.\n");
 +		return -ENODEV;
 +	}
@@ -506,7 +506,7 @@ index 600a76f..821acb0 100644
 +	}
 +
 +	flctl->reg = ioremap(res->start, res->end - res->start + 1);
-+	if (flctl->reg == NULL) {
++	if (flctl->reg = NULL) {
 +		printk(KERN_ERR "%s: ioremap error.\n", __func__);
 +		ret = -ENOMEM;
 +		goto err;
diff --git a/a/content_digest b/N1/content_digest
index 67b946c..cb407b6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>\0"
  "Subject\0[PATCH] mtd: sh_flctl: fix compile error\0"
- "Date\0Mon, 20 Oct 2008 17:17:44 +0900\0"
+ "Date\0Mon, 20 Oct 2008 08:17:44 +0000\0"
  "To\0dwmw2@infradead.org\0"
  "Cc\0linux-mtd@lists.infradead.org"
  " linux-sh@vger.kernel.org\0"
@@ -314,7 +314,7 @@
  "+\t\t}\n"
  "+\t\tif (flctl->hwecc) {\n"
  "+\t\t\t/* write page with hwecc */\n"
- "+\t\t\tif (flctl->seqin_column == mtd->writesize)\n"
+ "+\t\t\tif (flctl->seqin_column = mtd->writesize)\n"
  "+\t\t\t\texecmd_write_oob(mtd);\n"
  "+\t\t\telse if (!flctl->seqin_column)\n"
  "+\t\t\t\texecmd_write_page_sector(mtd);\n"
@@ -430,7 +430,7 @@
  "+\tstruct sh_flctl *flctl = mtd_to_flctl(mtd);\n"
  "+\tstruct nand_chip *chip = &flctl->chip;\n"
  "+\n"
- "+\tif (mtd->writesize == 512) {\n"
+ "+\tif (mtd->writesize = 512) {\n"
  "+\t\tflctl->page_size = 0;\n"
  "+\t\tif (chip->chipsize > (32 << 20)) {\n"
  "+\t\t\t/* big than 32MB */\n"
@@ -461,7 +461,7 @@
  "+\t}\n"
  "+\n"
  "+\tif (flctl->hwecc) {\n"
- "+\t\tif (mtd->writesize == 512) {\n"
+ "+\t\tif (mtd->writesize = 512) {\n"
  "+\t\t\tchip->ecc.layout = &flctl_4secc_oob_16;\n"
  "+\t\t\tchip->badblock_pattern = &flctl_4secc_smallpage;\n"
  "+\t\t} else {\n"
@@ -495,7 +495,7 @@
  "+\tint ret;\n"
  "+\n"
  "+\tpdata = pdev->dev.platform_data;\n"
- "+\tif (pdata == NULL) {\n"
+ "+\tif (pdata = NULL) {\n"
  "+\t\tprintk(KERN_ERR \"sh_flctl platform_data not found.\\n\");\n"
  "+\t\treturn -ENODEV;\n"
  "+\t}\n"
@@ -514,7 +514,7 @@
  "+\t}\n"
  "+\n"
  "+\tflctl->reg = ioremap(res->start, res->end - res->start + 1);\n"
- "+\tif (flctl->reg == NULL) {\n"
+ "+\tif (flctl->reg = NULL) {\n"
  "+\t\tprintk(KERN_ERR \"%s: ioremap error.\\n\", __func__);\n"
  "+\t\tret = -ENOMEM;\n"
  "+\t\tgoto err;\n"
@@ -601,4 +601,4 @@
  "-- \n"
  1.5.5
 
-fd525d36d7f4c5eece5014417975f5e8a5c5bcd4d2efa10e2c87716579c820c1
+b603c9a48833706bbeded22c345d4ba8f8e8d4f02f95f8bffbf3a51d80f8e2ac

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.