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

diff --git a/a/1.txt b/N1/1.txt
index dfec395..3d035cd 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,6 +1,6 @@
 The SH7757 has RSPI module. This patch supports it.
 
-Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
+Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
 ---
  drivers/spi/Kconfig    |    6 +
  drivers/spi/Makefile   |    1 +
@@ -237,7 +237,7 @@ index 0000000..354f170
 +	rspi->spsr = rspi_read8(rspi, RSPI_SPSR);
 +	rspi_enable_irq(rspi, enable_bit);
 +	ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ);
-+	if (ret = 0 && !(rspi->spsr & wait_mask))
++	if (ret == 0 && !(rspi->spsr & wait_mask))
 +		return -ETIMEDOUT;
 +
 +	return 0;
@@ -474,7 +474,7 @@ index 0000000..354f170
 +
 +	/* get base addr */
 +	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-+	if (unlikely(res = NULL)) {
++	if (unlikely(res == NULL)) {
 +		dev_err(&pdev->dev, "invalid resource\n");
 +		return -EINVAL;
 +	}
@@ -486,7 +486,7 @@ index 0000000..354f170
 +	}
 +
 +	master = spi_alloc_master(&pdev->dev, sizeof(struct rspi_data));
-+	if (master = NULL) {
++	if (master == NULL) {
 +		dev_err(&pdev->dev, "spi_alloc_master error.\n");
 +		return -ENOMEM;
 +	}
@@ -496,7 +496,7 @@ index 0000000..354f170
 +
 +	rspi->master = master;
 +	rspi->addr = ioremap(res->start, resource_size(res));
-+	if (rspi->addr = NULL) {
++	if (rspi->addr == NULL) {
 +		dev_err(&pdev->dev, "ioremap error.\n");
 +		ret = -ENOMEM;
 +		goto error1;
@@ -566,3 +566,10 @@ index 0000000..354f170
 +MODULE_ALIAS("platform:rspi");
 -- 
 1.7.1
+
+------------------------------------------------------------------------------
+Keep Your Developer Skills Current with LearnDevNow!
+The most comprehensive online learning library for Microsoft developers
+is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
+Metro Style Apps, more. Free future releases when you subscribe now!
+http://p.sf.net/sfu/learndevnow-d2d
diff --git a/a/content_digest b/N1/content_digest
index 770a587..46811f4 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
- "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0"
+ "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>\0"
  "Subject\0[PATCH] spi: add support for Renesas RSPI\0"
- "Date\0Wed, 08 Feb 2012 04:04:52 +0000\0"
+ "Date\0Wed, 08 Feb 2012 13:04:52 +0900\0"
  "To\0Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>\0"
  "Cc\0spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
  " SH-Linux <linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0"
@@ -8,7 +8,7 @@
  "b\0"
  "The SH7757 has RSPI module. This patch supports it.\n"
  "\n"
- "Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\n"
+ "Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>\n"
  "---\n"
  " drivers/spi/Kconfig    |    6 +\n"
  " drivers/spi/Makefile   |    1 +\n"
@@ -245,7 +245,7 @@
  "+\trspi->spsr = rspi_read8(rspi, RSPI_SPSR);\n"
  "+\trspi_enable_irq(rspi, enable_bit);\n"
  "+\tret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ);\n"
- "+\tif (ret = 0 && !(rspi->spsr & wait_mask))\n"
+ "+\tif (ret == 0 && !(rspi->spsr & wait_mask))\n"
  "+\t\treturn -ETIMEDOUT;\n"
  "+\n"
  "+\treturn 0;\n"
@@ -482,7 +482,7 @@
  "+\n"
  "+\t/* get base addr */\n"
  "+\tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n"
- "+\tif (unlikely(res = NULL)) {\n"
+ "+\tif (unlikely(res == NULL)) {\n"
  "+\t\tdev_err(&pdev->dev, \"invalid resource\\n\");\n"
  "+\t\treturn -EINVAL;\n"
  "+\t}\n"
@@ -494,7 +494,7 @@
  "+\t}\n"
  "+\n"
  "+\tmaster = spi_alloc_master(&pdev->dev, sizeof(struct rspi_data));\n"
- "+\tif (master = NULL) {\n"
+ "+\tif (master == NULL) {\n"
  "+\t\tdev_err(&pdev->dev, \"spi_alloc_master error.\\n\");\n"
  "+\t\treturn -ENOMEM;\n"
  "+\t}\n"
@@ -504,7 +504,7 @@
  "+\n"
  "+\trspi->master = master;\n"
  "+\trspi->addr = ioremap(res->start, resource_size(res));\n"
- "+\tif (rspi->addr = NULL) {\n"
+ "+\tif (rspi->addr == NULL) {\n"
  "+\t\tdev_err(&pdev->dev, \"ioremap error.\\n\");\n"
  "+\t\tret = -ENOMEM;\n"
  "+\t\tgoto error1;\n"
@@ -573,6 +573,13 @@
  "+MODULE_AUTHOR(\"Yoshihiro Shimoda\");\n"
  "+MODULE_ALIAS(\"platform:rspi\");\n"
  "-- \n"
- 1.7.1
+ "1.7.1\n"
+ "\n"
+ "------------------------------------------------------------------------------\n"
+ "Keep Your Developer Skills Current with LearnDevNow!\n"
+ "The most comprehensive online learning library for Microsoft developers\n"
+ "is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,\n"
+ "Metro Style Apps, more. Free future releases when you subscribe now!\n"
+ http://p.sf.net/sfu/learndevnow-d2d
 
-fcd34687d7939cf0d765c27517f07b29198811863f782660daf51ae8ce371d5a
+171d56fe95f3a2dda499df1e8c4181608353771ee85f00bc647ba208f91dfcd5

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.