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

diff --git a/a/1.txt b/N1/1.txt
index 9de7a5d..1575f5e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,18 +22,18 @@ index 70c8af9..79442c3 100644
  			     unsigned long offset)
  {
 -	writel(data, ss->addr + offset);
-+	if (ss->width = 8)
++	if (ss->width == 8)
 +		iowrite8(data, ss->addr + (offset >> 2));
-+	else if (ss->width = 32)
++	else if (ss->width == 32)
 +		iowrite32(data, ss->addr + offset);
  }
 
  static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset)
  {
 -	return readl(ss->addr + offset);
-+	if (ss->width = 8)
++	if (ss->width == 8)
 +		return ioread8(ss->addr + (offset >> 2));
-+	else if (ss->width = 32)
++	else if (ss->width == 32)
 +		return ioread32(ss->addr + offset);
 +	else
 +		return 0;
diff --git a/a/content_digest b/N1/content_digest
index d3bdc14..9bd6a8d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0"
  "Subject\0[PATCH RESEND] spi: spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size\0"
- "Date\0Wed, 07 Mar 2012 05:45:37 +0000\0"
+ "Date\0Wed, 07 Mar 2012 14:45:37 +0900\0"
  "To\0Grant Likely <grant.likely@secretlab.ca>\0"
  "Cc\0spi-devel-general@lists.sourceforge.net"
  " SH-Linux <linux-sh@vger.kernel.org>\0"
@@ -30,18 +30,18 @@
  " \t\t\t     unsigned long offset)\n"
  " {\n"
  "-\twritel(data, ss->addr + offset);\n"
- "+\tif (ss->width = 8)\n"
+ "+\tif (ss->width == 8)\n"
  "+\t\tiowrite8(data, ss->addr + (offset >> 2));\n"
- "+\telse if (ss->width = 32)\n"
+ "+\telse if (ss->width == 32)\n"
  "+\t\tiowrite32(data, ss->addr + offset);\n"
  " }\n"
  "\n"
  " static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset)\n"
  " {\n"
  "-\treturn readl(ss->addr + offset);\n"
- "+\tif (ss->width = 8)\n"
+ "+\tif (ss->width == 8)\n"
  "+\t\treturn ioread8(ss->addr + (offset >> 2));\n"
- "+\telse if (ss->width = 32)\n"
+ "+\telse if (ss->width == 32)\n"
  "+\t\treturn ioread32(ss->addr + offset);\n"
  "+\telse\n"
  "+\t\treturn 0;\n"
@@ -70,4 +70,4 @@
  "-- \n"
  1.7.1
 
-0219880d79a0822b244b9ebafce335b835054cfa3ac0d28aa827230f5e199b12
+27cf24402d0540ddf33df2a3f2c6f43424d10fd73641e116c85dccf42e4af109

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.