diff for duplicates of <20110711055221.GJ24169@linux-sh.org> diff --git a/a/1.txt b/N1/1.txt index be089d4..7b28df4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -509,7 +509,7 @@ Ping? > + > + for (i = 0; (i < num) && !ret; i++) { > + pd->msg = &msgs[i]; -> + stop = (i == num - 1); +> + stop = (i = num - 1); > + > + if (pd->msg->flags & I2C_M_RD) > + ret = riic_master_receive(pd, restart); @@ -567,14 +567,14 @@ Ping? > + riic_data = pdev->dev.platform_data; > + > + reg = ioremap(res->start, resource_size(res)); -> + if (reg == NULL) { +> + if (reg = NULL) { > + ret = -ENOMEM; > + dev_err(&pdev->dev, "ioremap error.\n"); > + goto clean_up; > + } > + > + pd = kzalloc(sizeof(struct riic_data), GFP_KERNEL); -> + if (pd == NULL) { +> + if (pd = NULL) { > + ret = -ENOMEM; > + dev_err(&pdev->dev, "kzalloc error.\n"); > + goto clean_up; diff --git a/a/content_digest b/N1/content_digest index b8d5804..0a39521 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\04E0D1C3A.4050305@renesas.com\0" "From\0Paul Mundt <lethal@linux-sh.org>\0" "Subject\0Re: [PATCH 1/2] i2c: i2c-riic: add support for Renesas RIIC\0" - "Date\0Mon, 11 Jul 2011 14:52:21 +0900\0" + "Date\0Mon, 11 Jul 2011 05:52:21 +0000\0" "To\0Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>" " Jean Delvare <jdelvare@suse.de>\0" "Cc\0ben-linux@fluff.org" @@ -520,7 +520,7 @@ "> +\n" "> +\tfor (i = 0; (i < num) && !ret; i++) {\n" "> +\t\tpd->msg = &msgs[i];\n" - "> +\t\tstop = (i == num - 1);\n" + "> +\t\tstop = (i = num - 1);\n" "> +\n" "> +\t\tif (pd->msg->flags & I2C_M_RD)\n" "> +\t\t\tret = riic_master_receive(pd, restart);\n" @@ -578,14 +578,14 @@ "> +\triic_data = pdev->dev.platform_data;\n" "> +\n" "> +\treg = ioremap(res->start, resource_size(res));\n" - "> +\tif (reg == NULL) {\n" + "> +\tif (reg = NULL) {\n" "> +\t\tret = -ENOMEM;\n" "> +\t\tdev_err(&pdev->dev, \"ioremap error.\\n\");\n" "> +\t\tgoto clean_up;\n" "> +\t}\n" "> +\n" "> +\tpd = kzalloc(sizeof(struct riic_data), GFP_KERNEL);\n" - "> +\tif (pd == NULL) {\n" + "> +\tif (pd = NULL) {\n" "> +\t\tret = -ENOMEM;\n" "> +\t\tdev_err(&pdev->dev, \"kzalloc error.\\n\");\n" "> +\t\tgoto clean_up;\n" @@ -695,4 +695,4 @@ "> the body of a message to majordomo@vger.kernel.org\n" > More majordomo info at http://vger.kernel.org/majordomo-info.html -875e19bc8d0abc50c9f5c49af2362d02ee98402bc4b94323c76d65cef25aa528 +678ba3fa0ab42875fbdb78b7358939ddd08492ef79c193f6aef405db05168868
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.