linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: Fix pinconf_pins_show iteration
@ 2012-01-06 20:38 Stephen Warren
  2012-01-07  3:51 ` Chanho Park
  2012-01-10  9:16 ` Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Warren @ 2012-01-06 20:38 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-kernel, Chanho Park, Stephen Warren

Commit 706e852 "pinctrl: correct a offset while enumerating pins"
modified the variable used by pinconf_pin_show()'s for loop, but didn't
update the for loop test expression.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 drivers/pinctrl/pinconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index 1259872..1892a37 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers/pinctrl/pinconf.c
@@ -236,7 +236,7 @@ static int pinconf_pins_show(struct seq_file *s, void *what)
 	seq_puts(s, "Format: pin (name): pinmux setting array\n");
 
 	/* The pin number can be retrived from the pin controller descriptor */
-	for (i = 0; pin < pctldev->desc->npins; i++) {
+	for (i = 0; i < pctldev->desc->npins; i++) {
 		struct pin_desc *desc;
 
 		pin = pctldev->desc->pins[i].number;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* RE: [PATCH] pinctrl: Fix pinconf_pins_show iteration
  2012-01-06 20:38 [PATCH] pinctrl: Fix pinconf_pins_show iteration Stephen Warren
@ 2012-01-07  3:51 ` Chanho Park
  2012-01-10  9:16 ` Linus Walleij
  1 sibling, 0 replies; 5+ messages in thread
From: Chanho Park @ 2012-01-07  3:51 UTC (permalink / raw)
  To: 'Stephen Warren', 'Linus Walleij'; +Cc: linux-kernel

> -----Original Message-----
> From: Stephen Warren [mailto:swarren@nvidia.com]
> Sent: Saturday, January 07, 2012 5:39 AM
> To: Linus Walleij
> Cc: linux-kernel@vger.kernel.org; Chanho Park; Stephen Warren
> Subject: [PATCH] pinctrl: Fix pinconf_pins_show iteration
> 
> Commit 706e852 "pinctrl: correct a offset while enumerating pins"
> modified the variable used by pinconf_pin_show()'s for loop, but didn't
> update the for loop test expression.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>  drivers/pinctrl/pinconf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
> index 1259872..1892a37 100644
> --- a/drivers/pinctrl/pinconf.c
> +++ b/drivers/pinctrl/pinconf.c
> @@ -236,7 +236,7 @@ static int pinconf_pins_show(struct seq_file *s,
> void *what)
>  	seq_puts(s, "Format: pin (name): pinmux setting array\n");
> 
>  	/* The pin number can be retrived from the pin controller
> descriptor */
> -	for (i = 0; pin < pctldev->desc->npins; i++) {
> +	for (i = 0; i < pctldev->desc->npins; i++) {
>  		struct pin_desc *desc;
> 
>  		pin = pctldev->desc->pins[i].number;
> --
> 1.7.0.4

Oh, I missed it.
Thank you for refining it.

Best Regards,
Chanho Park


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] pinctrl: Fix pinconf_pins_show iteration
  2012-01-06 20:38 [PATCH] pinctrl: Fix pinconf_pins_show iteration Stephen Warren
  2012-01-07  3:51 ` Chanho Park
@ 2012-01-10  9:16 ` Linus Walleij
  2012-01-19 17:52   ` Stephen Warren
  1 sibling, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2012-01-10  9:16 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-kernel, Chanho Park

On Fri, Jan 6, 2012 at 9:38 PM, Stephen Warren <swarren@nvidia.com> wrote:

> Commit 706e852 "pinctrl: correct a offset while enumerating pins"
> modified the variable used by pinconf_pin_show()'s for loop, but didn't
> update the for loop test expression.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

OK applied to my fixes branch, will send this along with any other
fixes once Torvalds has pulled the pinctrl tree for this merge window.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH] pinctrl: Fix pinconf_pins_show iteration
  2012-01-10  9:16 ` Linus Walleij
@ 2012-01-19 17:52   ` Stephen Warren
  2012-01-19 18:32     ` Linus Walleij
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Warren @ 2012-01-19 17:52 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-kernel, Chanho Park

Linus Walleij wrote at Tuesday, January 10, 2012 2:17 AM:
> On Fri, Jan 6, 2012 at 9:38 PM, Stephen Warren <swarren@nvidia.com> wrote:
> 
> > Commit 706e852 "pinctrl: correct a offset while enumerating pins"
> > modified the variable used by pinconf_pin_show()'s for loop, but didn't
> > update the for loop test expression.
> >
> > Signed-off-by: Stephen Warren <swarren@nvidia.com>
> 
> OK applied to my fixes branch, will send this along with any other
> fixes once Torvalds has pulled the pinctrl tree for this merge window.

Linus,

This still hasn't shown up in next-20120119. Is that expected?

Thanks.

-- 
nvpublic


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] pinctrl: Fix pinconf_pins_show iteration
  2012-01-19 17:52   ` Stephen Warren
@ 2012-01-19 18:32     ` Linus Walleij
  0 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2012-01-19 18:32 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-kernel, Chanho Park

On Thu, Jan 19, 2012 at 6:52 PM, Stephen Warren <swarren@nvidia.com> wrote:
> Linus Walleij wrote at Tuesday, January 10, 2012 2:17 AM:
>> On Fri, Jan 6, 2012 at 9:38 PM, Stephen Warren <swarren@nvidia.com> wrote:
>>
>> > Commit 706e852 "pinctrl: correct a offset while enumerating pins"
>> > modified the variable used by pinconf_pin_show()'s for loop, but didn't
>> > update the for loop test expression.
>> >
>> > Signed-off-by: Stephen Warren <swarren@nvidia.com>
>>
>> OK applied to my fixes branch, will send this along with any other
>> fixes once Torvalds has pulled the pinctrl tree for this merge window.
>
> Linus,
>
> This still hasn't shown up in next-20120119. Is that expected?

Yes I was waiting for the merge window to close, but I guess that's
a bit over-cautios. I'll push it out tomorrow...

Thanks,
Linus Walleij

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-19 18:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-06 20:38 [PATCH] pinctrl: Fix pinconf_pins_show iteration Stephen Warren
2012-01-07  3:51 ` Chanho Park
2012-01-10  9:16 ` Linus Walleij
2012-01-19 17:52   ` Stephen Warren
2012-01-19 18:32     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).