linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the trivial tree with the ux500-core tree
@ 2011-04-29  1:59 Stephen Rothwell
  2011-04-29  7:25 ` Linus Walleij
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2011-04-29  1:59 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-next, linux-kernel, Linus Walleij, Joe Perches

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

Hi Jiri,

Today's linux-next merge of the trivial tree got a conflict in
arch/arm/mach-u300/gpio.c between commit 4a5a6e2804a3 ("mach-u300:
rewrite gpio driver, move to drivers/gpio") from the ux500-core tree and
commit b0c3af5ef0d7 ("arm: mach-u300/gpio: Fix mem_region resource size
miscalculations") from the trivial tree.

The former removed the file updated by the latter.  These updates should
be applied to drivers/gpio/u300-gpio.c, now.  Joe, maybe you could update
your patch and send it to Linus Walleij.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: linux-next: manual merge of the trivial tree with the ux500-core tree
  2011-04-29  1:59 linux-next: manual merge of the trivial tree with the ux500-core tree Stephen Rothwell
@ 2011-04-29  7:25 ` Linus Walleij
  2011-05-05 13:48   ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2011-04-29  7:25 UTC (permalink / raw)
  To: Stephen Rothwell, Jiri Kosina; +Cc: linux-next, linux-kernel, Joe Perches

2011/4/29 Stephen Rothwell <sfr@canb.auug.org.au>:

> Today's linux-next merge of the trivial tree got a conflict in
> arch/arm/mach-u300/gpio.c between commit 4a5a6e2804a3 ("mach-u300:
> rewrite gpio driver, move to drivers/gpio") from the ux500-core tree and
> commit b0c3af5ef0d7 ("arm: mach-u300/gpio: Fix mem_region resource size
> miscalculations") from the trivial tree.
>
> The former removed the file updated by the latter.  These updates should
> be applied to drivers/gpio/u300-gpio.c, now.  Joe, maybe you could update
> your patch and send it to Linus Walleij.

I rewrote the driver completely so likely it will rather be dropped, but
please check! I'll be happy to carry any patches.

Yours,
Linus Walleij

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

* Re: linux-next: manual merge of the trivial tree with the ux500-core tree
  2011-04-29  7:25 ` Linus Walleij
@ 2011-05-05 13:48   ` Jiri Kosina
  2011-05-06  9:29     ` Linus Walleij
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2011-05-05 13:48 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Stephen Rothwell, linux-next, linux-kernel, Joe Perches

On Fri, 29 Apr 2011, Linus Walleij wrote:

> > Today's linux-next merge of the trivial tree got a conflict in
> > arch/arm/mach-u300/gpio.c between commit 4a5a6e2804a3 ("mach-u300:
> > rewrite gpio driver, move to drivers/gpio") from the ux500-core tree and
> > commit b0c3af5ef0d7 ("arm: mach-u300/gpio: Fix mem_region resource size
> > miscalculations") from the trivial tree.
> >
> > The former removed the file updated by the latter.  These updates should
> > be applied to drivers/gpio/u300-gpio.c, now.  Joe, maybe you could update
> > your patch and send it to Linus Walleij.
> 
> I rewrote the driver completely so likely it will rather be dropped, but
> please check! I'll be happy to carry any patches.

Seems to me that all the calls to request_mem_region() and 
release_mem_region() still need the resource_size() fixup even in the new 
driver.

Either I can carry the current patch in my tree and let Linus resolve the 
conflict, or I can drop it from my tree and you take the fixes through 
your tree. Let me know what you prefer.

-- 
Jiri Kosina
SUSE Labs

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

* Re: linux-next: manual merge of the trivial tree with the ux500-core tree
  2011-05-05 13:48   ` Jiri Kosina
@ 2011-05-06  9:29     ` Linus Walleij
  2011-05-06  9:44       ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2011-05-06  9:29 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Stephen Rothwell, linux-next, linux-kernel, Joe Perches

2011/5/5 Jiri Kosina <jkosina@suse.cz>:
> On Fri, 29 Apr 2011, Linus Walleij wrote:
>>
>> I rewrote the driver completely so likely it will rather be dropped, but
>> please check! I'll be happy to carry any patches.
>
> Seems to me that all the calls to request_mem_region() and
> release_mem_region() still need the resource_size() fixup even in the new
> driver.

OK I went in and tweaked the patch like this:

	if (request_mem_region(gpio->memres->start,
			       resource_size(gpio->memres),
			       "GPIO Controller")
	    == NULL) {
		dev_err(gpio->dev, "could not reserve GPIO memory region\n");
		err = -ENODEV;
		goto err_no_ioregion;
	}
(...)
err_no_ioremap:
	release_mem_region(gpio->memres->start, resource_size(gpio->memres));
(...)
	release_mem_region(gpio->memres->start,
			   resource_size(gpio->memres));

It'll appear in the next tree tomorrow or so. OK?

Yours,
Linus Walleij

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

* Re: linux-next: manual merge of the trivial tree with the ux500-core tree
  2011-05-06  9:29     ` Linus Walleij
@ 2011-05-06  9:44       ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2011-05-06  9:44 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Stephen Rothwell, linux-next, linux-kernel, Joe Perches

On Fri, 6 May 2011, Linus Walleij wrote:

> 2011/5/5 Jiri Kosina <jkosina@suse.cz>:
> > On Fri, 29 Apr 2011, Linus Walleij wrote:
> >>
> >> I rewrote the driver completely so likely it will rather be dropped, but
> >> please check! I'll be happy to carry any patches.
> >
> > Seems to me that all the calls to request_mem_region() and
> > release_mem_region() still need the resource_size() fixup even in the new
> > driver.
> 
> OK I went in and tweaked the patch like this:
> 
> 	if (request_mem_region(gpio->memres->start,
> 			       resource_size(gpio->memres),
> 			       "GPIO Controller")
> 	    == NULL) {
> 		dev_err(gpio->dev, "could not reserve GPIO memory region\n");
> 		err = -ENODEV;
> 		goto err_no_ioregion;
> 	}
> (...)
> err_no_ioremap:
> 	release_mem_region(gpio->memres->start, resource_size(gpio->memres));
> (...)
> 	release_mem_region(gpio->memres->start,
> 			   resource_size(gpio->memres));
> 
> It'll appear in the next tree tomorrow or so. OK?

Thanks. I have dropped Joe's patch from my queue now.

-- 
Jiri Kosina
SUSE Labs

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

end of thread, other threads:[~2011-05-06  9:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29  1:59 linux-next: manual merge of the trivial tree with the ux500-core tree Stephen Rothwell
2011-04-29  7:25 ` Linus Walleij
2011-05-05 13:48   ` Jiri Kosina
2011-05-06  9:29     ` Linus Walleij
2011-05-06  9:44       ` Jiri Kosina

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).