All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20131106234737.8971.37405.sendpatchset@w520>

diff --git a/a/1.txt b/N1/1.txt
index d6a0e03..600853f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -203,7 +203,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
 +	}
 +
 +	/* If only 1 resource is available it must be PPR */
-+	if (nr = 1) {
++	if (nr == 1) {
 +		io[REG_PPR] = io[0];
 +		p->io[REG_PPR] = p->io[0];
 +		io[0] = NULL;
@@ -220,7 +220,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
 +	if (IS_ENABLED(CONFIG_OF) && np) {
 +		ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0,
 +						       &args);
-+		number_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT;
++		number_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT;
 +	}
 +
 +	gpio_chip = &p->gpio_chip;
diff --git a/a/content_digest b/N1/content_digest
index b4634c2..028b832 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Magnus Damm <magnus.damm@gmail.com>\0"
  "Subject\0[PATCH] gpio: Renesas RZ GPIO driver\0"
- "Date\0Wed, 06 Nov 2013 23:47:37 +0000\0"
+ "Date\0Thu, 07 Nov 2013 08:47:37 +0900\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0linux-sh@vger.kernel.org"
   linus.walleij@linaro.org
@@ -215,7 +215,7 @@
  "+\t}\n"
  "+\n"
  "+\t/* If only 1 resource is available it must be PPR */\n"
- "+\tif (nr = 1) {\n"
+ "+\tif (nr == 1) {\n"
  "+\t\tio[REG_PPR] = io[0];\n"
  "+\t\tp->io[REG_PPR] = p->io[0];\n"
  "+\t\tio[0] = NULL;\n"
@@ -232,7 +232,7 @@
  "+\tif (IS_ENABLED(CONFIG_OF) && np) {\n"
  "+\t\tret = of_parse_phandle_with_fixed_args(np, \"gpio-ranges\", 3, 0,\n"
  "+\t\t\t\t\t\t       &args);\n"
- "+\t\tnumber_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n"
+ "+\t\tnumber_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n"
  "+\t}\n"
  "+\n"
  "+\tgpio_chip = &p->gpio_chip;\n"
@@ -320,4 +320,4 @@
  "+\n"
  +#endif /* __GPIO_RZ_H__ */
 
-5ce358fa3493d5ed310442fa63235e4a867ec1f81ea642aa1ae0db79595fb10f
+6d8e83067e5b51fee25653e262887c7eda9a7d94ed0fa957ace27fe759b35fa3

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.