All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4E803ACC.3030403@renesas.com>

diff --git a/a/1.txt b/N1/1.txt
index 128a0fa..eeb455d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -520,7 +520,7 @@ index 0000000..1e6639c
 +
 +	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);
@@ -582,14 +582,14 @@ index 0000000..1e6639c
 +	riic_data = pdev->dev.platform_data;
 +
 +	reg = ioremap(res->start, resource_size(res));
-+	if (reg == NULL) {
++	if (reg = NULL) {
 +		ret = -ENXIO;
 +		dev_err(&pdev->dev, "ioremap failed.\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 failed.\n");
 +		goto clean_up;
diff --git a/a/content_digest b/N1/content_digest
index 5c5c9dd..a375e1f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\0"
  "Subject\0[PATCH 1/2 v3] i2c: i2c-riic: add support for Renesas RIIC\0"
- "Date\0Mon, 26 Sep 2011 17:41:48 +0900\0"
+ "Date\0Mon, 26 Sep 2011 08:41:48 +0000\0"
  "To\0ben-linux@fluff.org\0"
  "Cc\0linux-i2c@vger.kernel.org"
  " SH-Linux <linux-sh@vger.kernel.org>\0"
@@ -528,7 +528,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"
@@ -590,14 +590,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 = -ENXIO;\n"
  "+\t\tdev_err(&pdev->dev, \"ioremap failed.\\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 failed.\\n\");\n"
  "+\t\tgoto clean_up;\n"
@@ -721,4 +721,4 @@
  "-- \n"
  1.7.1
 
-b70f2ae6dfa6d1480fe4cb3646d302363a6f34128c9460846722da4782f43a7d
+70d3b86bb17b1787c1ec953a6e66728a696490988d16a9e6b299806c5fa86ed9

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.