diff for duplicates of <1781877.1SQAh5IBVN@avalon> diff --git a/a/1.txt b/N1/1.txt index 0d9524e..16588f0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -211,7 +211,7 @@ I still don't userstand what's wrong with i as a loop index :-) > + } > + > + /* 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; @@ -223,7 +223,7 @@ I still don't userstand what's wrong with i as a loop index :-) I don't think np can be NULL. -> + number_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT; +> + number_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT; Shouldn't the gpio-ranges property be mandatory ? diff --git a/a/content_digest b/N1/content_digest index 6aa6548..93e0d4d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020131113233411.565.32282.sendpatchset@w520\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v2] gpio: Renesas RZ GPIO driver V2\0" - "Date\0Wed, 13 Nov 2013 23:50:47 +0000\0" + "Date\0Thu, 14 Nov 2013 00:50:47 +0100\0" "To\0Magnus Damm <magnus.damm@gmail.com>\0" "Cc\0linux-kernel@vger.kernel.org" linux-sh@vger.kernel.org @@ -223,7 +223,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" @@ -235,7 +235,7 @@ "\n" "I don't think np can be NULL.\n" "\n" - "> +\tnumber_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" + "> +\tnumber_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" "\n" "Shouldn't the gpio-ranges property be mandatory ?\n" "\n" @@ -306,4 +306,4 @@ "\n" Laurent Pinchart -9d2edd07b122dd36db81618abcf220bcf1c919e9eddd0846ddd48cf7261b0ed1 +ea99f6f063abc9a0430629313e7c357570421d1ae9a30b00e49eb2ab42c2f1ad
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.